如何解决这个java.nio.BufferOverflowException错误? [英] How to solve this java.nio.BufferOverflowException error?
问题描述
当我试图编译与ADT日食我的code,这表明我这个错误
When i tried to compile my code in eclipse with ADT, it showed me this error
[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.
为什么我收到此错误信息?
Why am I getting this error message ?
如何解决这个错误?
推荐答案
确保了Android的价值:targetSdkVersion在AndroidManifest.xml匹配目标= android-在project.properties。如果这两个值是不一样的,随着构建工具的版本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/
Make sure that the value of android:targetSdkVersion in AndroidManifest.xml matches target=android- in project.properties. If these two values are not the same, building with build tools version 19.0.0 will end in the BufferOverflowException, check the mentioned links if you http://techlovejump.in/2013/11/how-to-solve-unable-to-execute-dex-java-nio-bufferoverflowexception-check-the-eclipse-log-for-stack-trace/
这篇关于如何解决这个java.nio.BufferOverflowException错误?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!