Android Question Convert Byte code - Optimized dex fails

iCAB

Well-Known Member
Licensed User
Longtime User
Hi All

I am wondering is there any disadvantage for disabling optimized dex step.

In my case it is failing every single time, even though I increased
MaxRamForDex=2048
it seems to be related to the size of the app ( over 100K lines ) .

For smaller apps it works just fine

Thanks in Advance
 
Last edited:

iCAB

Well-Known Member
Licensed User
Longtime User
You can set a higher limit if there is enough memory and you are using Java 64 bit.

The only downside for disabling it is that compilation will be slower. However if it fails every time then it will actually be faster with it disabled.

Is it doing any code optimization for speed or size?

Thanks for your reply
 
Upvote 0
Top