Unable to execute dex: Multiple dex files define Lcom/xj/util/R$drawable

今天晚上打开eclipse工程出现了这样一个bug:

[2016-05-31 21:31:21 - Dex Loader] Unable to execute dex: Multiple dex files define Lcom/xj/util/R$drawable;
[2016-05-31 21:31:21 - SACS] Conversion to Dalvik format failed: Unable to execute dex: Multiple dex files define Lcom/xj/util/R$drawable;

我在百度了一下

http://stackoverflow.com/questions/7870265/unable-to-execute-dex-multiple-dex-files-define-lcom-myapp-rarray

看了一下这篇博客,按照他的方法,

Similar issues have been reported and I have tried the suggestions there including

  • Restarting Eclipse.
  • Cleaning the project and rebuild - Disable "Project->Build Automatically" option, then "Clean" and "Build" project, then try to run. reset "Build Automatically" option to On
  • Re-installing the Android Developer Tools
  • Re-installing Eclipse (updated to the latest version 3.7.1)
  • Created a new project importing from the file system
  • Created a new project from subversion.
最终解决了问题
阅读更多
版权声明:本文为博主原创文章,未经博主允许不得转载。 https://blog.csdn.net/u013003312/article/details/51549316
文章标签: android bug
个人分类: 开发环境
上一篇Android TextView设置部分字体颜色改变,部分字体背景改变
下一篇Android Eclipse设置AS主题风格
想对作者说点什么? 我来说一句

没有更多推荐了,返回首页

关闭
关闭