当我尝试使用 ADT 在 Eclipse 中编译代码时,它向我显示了此错误
[2013-12-10 17:55:51 - Android SDK] Warning when loading the SDK:
Warning: Ignoring build-tool 'add-ons': missing file source.properties
[2013-12-10 18:02:33 - Dex Loader] Unable to execute dex: java.nio.BufferOverflowException. Check the Eclipse log for stack trace.
[2013-12-10 18:02:33 - Nasa Daily Image] Conversion to Dalvik format failed: Unable to execute dex: java.nio.BufferOverflowException. Check the Eclipse log for stack trace.
为什么我会收到此错误消息?
如何解决该错误?
确保AndroidManifest.xml中的android:targetSdkVersion的值与project.properties中的target=android-匹配。如果这两个值不相同,则使用构建工具版本 19.0.0 进行构建将以 BufferOverflowException 结束,如果您http://techlovejump.in/2013/11/how-to-solve-unable-to-execute-dex-java-nio-bufferoverflowexception-check-the-eclipse-log-for-stack-trace/ http://techlovejump.in/2013/11/how-to-solve-unable-to-execute-dex-java-nio-bufferoverflowexception-check-the-eclipse-log-for-stack-trace/
本文内容由网友自发贡献,版权归原作者所有,本站不承担相应法律责任。如您发现有涉嫌抄袭侵权的内容,请联系:hwhale#tublm.com(使用前将#替换为@)