I cannot get a build done when I activate the “Custom Gradle Properties Template” and enable :
android.useAndroidX=true
android.enableJetifier=true
If I don’t use this I have duplicate class errors, if I enable these I get:
" Cannot fit requested classes in a single dex file (# methods: 98764 > 65536)"
Even though multidex is enabled on the maintemplate.gradle…
Anyone knows how to set this up?
system
2
Hi. Try to enable multidex in the launcher template?
It’s already added.
The only thing that “fixed” is to set min api version to 21. Not something I really wanted to do.
Hey,
We aren’t supporting multidex, but some of the users have found solutions on how to use multidex here: Can't build with multidex enabled
I see you have mentioned that you added multidex in launcher template, does it mean you have already tried out this workaround?