I am getting following exception when I am trying to run my Android project.
Conversion to Dalvik format failed: Unable to execute dex: java.nio.BufferOverflowException
Currently now I am using ADT version 22.3. My project target is API level-15. I tried to add Support library in Android tools, but problem not resolved.
the key is to set target=android-19
from project.properties
and android:targetSdkVersion="19"
same to 19. This has worked for me.
Its a big mess... Following way did the trick for me...
Right click your project in eclipse -> Android Tools -> Add Support Library
Then click Accept License
and click install
.
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