Everytime i want to run my Android application i get a error:
[2013-11-02 13:05:36 - Dex Loader] Unable to execute dex: java.nio.BufferOverflowException. Che
In the file project.properties, replace
target=android-??
with
target=android-19
Try right click your project > android > Project build Target >select less version than 4.4 and try to clean the project.
It worked for me. :)
I have solved this with build tools 19.0.1 and project build target to API 19. With build tools 19.0 I have this problem.
I just deleted Android dependencies from project > properties > java build path > libraries. After I clean the project and run it
try to Add Android Support Library :D https://stackoverflow.com/a/19803777/544265
I was able to get my problem project to build by adding this extra line:
sdk.buildtools=18.1.1
...to my project.properties file, which is present in the root of the project folder. All other approaches seemed to fail for me.