关闭

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

标签: androidbug
442人阅读 评论(0) 收藏 举报
分类:

今天晚上打开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.
最终解决了问题
0
0

查看评论
* 以上用户言论只代表其个人观点,不代表CSDN网站的观点或立场
    个人资料
    • 访问:8599次
    • 积分:215
    • 等级:
    • 排名:千里之外
    • 原创:13篇
    • 转载:2篇
    • 译文:0篇
    • 评论:9条