Android IDE (AIDE) Support Forum

MultiDexing issue

In the screenshot, setting minSdk to 21 causes a ClassNotFoundException. Also, setting multiDexEnabled true causes the same exception.

Anyone got a solution for this? I can’t proceed without multidexing the app!

Same case for me trying adding Admob

1 Like

@trixi We are facing terrible issues with Multidexing. Hope the devs solve this issue soon! If you need more info, please let us know so we can provide more info!

@rabbi I read your post and we all are aware of the issue!


MultiDex don’t work as well, it generates too many dex files

1 Like

For example: I have created a sample project with AppCompat v25.3.1


Project run fine and app works.
But what about the generated dex file?

Too many dex files!


And every dex files start from clsses2.dex and up contains code from unused library packages:


AIDE compile globally several libraries packages and keeping all in every dex files.
It’s bad if you want to add several library dependencies in your build.gradle!

Well, my app crashes after setting the minSdk to 21 and/or enabling multdexing.
Support libraries version: 27.1.1
This is frustrating

@eveyone thank you for all the information regarding this issue.
@Ali will send the link to this thread to the devs, so for now please continue gathering information here.

2 Likes

How’re things going concerning this issue? I’m using the v27 support libraries and MultiDexing causes a horrific crash!

migrate to androidx and enabled proguard feanture and set minimu sdk 19

What about the main issue? Multidexing?

You Can Use Aide Mod Or Pro Version

I’m not sure if you are following the issue here , but try setting your minSdkVersion to 21 with androidx, build the app and open it and report back.

This is the problem that stopped my work too. I am using Androidx and enabling multidex crash my app. I searched the net intensively but no solution.

1 Like

Set Your Sdk To Minimum 19 And Enable Proguard