Android Studio (0.1.6-0.2.13) error other than jumbo

I had a problem after updating from Android Studio 0.1. 5 to 0.1. 6 (also from 0.1. 6 to 0. 2 .13), where my build ended with an error:
Cannot execute dex: it is not possible to merge the new index some_number > 2^16 into an instruction without jumbo!

I set the following line in the project.properties file:
set dex.force.jumbo=true
(both with and without installed), and this did not solve the problem.

Any ideas?

+4
source share
1 answer

I fixed it by going to Settings ( / Ctrl + , ) ➤ Compiler and unchecking "Use external assembly".
Then I went to the Build ➤ Rebuild Project and worked fine.

I hope this helps someone else too.

Edit:
Please note that with Android Studio 0.2.13 (I didn’t use anything between 0.2.9 and 0.2.13, so I didn’t notice when it left) No Use external assembly option.
To overcome this problem now, you need to do the following:
Go to Settings ( / Ctrl + , ) ➤ Compiler ➤ Android Compilers and check " Power mode jumbo ".

+7
source

Source: https://habr.com/ru/post/1487874/


All Articles