2



I have used dexguard for the next level security of my Android App. I updated to latest version of dexguard which is 8.3.03. In the documentation of dexguard they said that, multiDexEnabled=true is longer supported.

Now my application code and user libraries reached the 64K limit and android studion dont let me create relase APK.

How to let the gradle accept multiple dex files while creating APK ?

Please help,
Thank you

Cheers

Sagar Bandamwar
  • 227
  • 2
  • 12
Yogesh Katkar
  • 369
  • 1
  • 4
  • 16

2 Answers2

1

Dex guard will handle the multidxing part here,

All you have to do is add -multidex line in the dexguard-project.txt at the top

and in your gradle file multiDexEnabled false

Sagar Bandamwar
  • 227
  • 2
  • 12
0

Dexguard provides its own solution to multiDexing. To enable this you need to add the -multidex in your dexguard rules file. It only works from Android 5.0 and up.

Hope this helps

dzsonni
  • 194
  • 1
  • 13