Everytime I want to run my Android application I get a error:
[2013-12-26 11:24:12 - Dex Loader] Unable to execute dex: java.nio.BufferOverflowException. Check the Eclipse log for stack trace.
[2013-12-26 11:24:12 - Pk6.1.3] Conversion to Dalvik format failed: Unable to execute dex: java.nio.BufferOverflowException. Check the Eclipse log for stack trace.
I deleted Android dependencies from project > properties > java build path > libraries
. After I clean the project and not run it.
I modify project.properties
file, target=android-19
, and I run it, but I don't want to do this.
Are there other solutions to solved the problem?
Thanks.
from Eclipse:
First Right click on project and go to properties.
Go to Java Build Path Screen (from left menu)
Select Libraries Pane.
Highlight Android dependencies
Click Remove
Click Ok.
Right click your project → android tools → android support library.
it works for me :)
Right click your project - Properties - Android
and set Project Build Target version higher.
I have same problem and this works for me.
I was doing some mistake, now it is working fine for me.
Remove dependency from: Properties (Alt+Enter) -> Java build path -> libraries tab.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With