无法执行DEX:java.nio.BufferOverflowException。检查Eclipse日志的堆栈跟踪 [英] Unable to execute dex: java.nio.BufferOverflowException. Check the Eclipse log for stack trace

查看:200
本文介绍了无法执行DEX:java.nio.BufferOverflowException。检查Eclipse日志的堆栈跟踪的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

每次我要运行我的Andr​​oid应用程序我得到一个错误:

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.

我删除Android的依赖关系项目>性状> Java构建路径>库。之后,我清理项目,而不是运行它。

I deleted Android dependencies from project > properties > java build path > libraries. After I clean the project and not run it.

我修改 project.properties 文件,目标=机器人-19 ,我跑了,但我不'吨要做到这一点。

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?

感谢。

推荐答案

从Eclipse的:

首先右键单击项目,并转到属性。

First Right click on project and go to properties.

  1. 转到Java构建路径屏幕(左菜单)

  1. Go to Java Build Path Screen (from left menu)

选择库窗格。

突出显示Android的依赖

Highlight Android dependencies

点击删除

点击确定。

这篇关于无法执行DEX:java.nio.BufferOverflowException。检查Eclipse日志的堆栈跟踪的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
相关文章
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆