Each time I compile my android studio app to an APK I get this error message. My android studio version:
Error Messages:
How do you fix this error? It would be greatly appreciated if someone told me how to fix it.
It appears that you must enable multiDexEnabled just beneath your minSdkVersion in the build.gradle(:app).
multiDexEnabled = true;
The background reason for this I have not yet fully investigated since in some instances, it will only fail during the building of the app-bundle and not on emulator.
You need to make
minSdkVersion 21
At least 21.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With