Solve the Multidex error in Eclipse without the build.gradle file


I get the error of "Unable to execute dex: method ID not in [0, 0xffff]: 65536".

The point is that I do not have a buid.gradle file in my application. My project is done with Eclipse.

Is there a solution? Or put code in another eclipse file?

asked by Txiskojv 31.03.2017 в 02:12

2 answers


if you are doing a project on android as advisable as @jorsesys says 1.- Install android studio which is the official IDE for development on android 2.- Export your eclipse project 3.- You import the eclipse project to android

I know that at the beginning it can be tedious, but believe me Android studio, it is really oriented for the development in android including that it facilitates many things

regards link

answered by 31.03.2017 в 07:45

For this, if you have a project done in eclipse, you have to import your project (do not open it), this by the sequence:

File > New > Import Project and select the folder with your project made in Eclipse.

This will create the files needed to run Android Studio, including build.gradle .

answered by 31.03.2017 в 02:23