转换到的Dalvik格式失败:无法执行DEX:java.nio.BufferOverflowException格式、DEX、Dalvik、BufferOverflowException

2023-09-03 21:19:46 作者:我的掌心还残留你的余温

我收到以下异常,当我尝试运行我的Andr​​oid项目。

I am getting following exception when I am trying to run my Android project.

转换到的Dalvik格式失败:无法执行DEX:java.nio.BufferOverflowException

目前现在我使用的ADT版本22.3。我的项目目标是API级15。我试图添加支持库在Android的工具,但没有解决问题。

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.

推荐答案

关键是要设置目标=机器人-19 project.properties 机器人:targetSdkVersion =19同为19。这很适合我。

the key is to set target=android-19 from project.properties and android:targetSdkVersion="19" same to 19. This has worked for me.