Unable to execute dex: Multiple dex files define Lcom/myapp/R$array;

后端 未结 30 2044
迷失自我
迷失自我 2020-11-22 00:31

Since updating to ADT 14 I can no longer build my project. It was building fine prior to updating.

The error:

[2011-10-23 16:23:29 - De         


        
30条回答
  •  轻奢々
    轻奢々 (楼主)
    2020-11-22 01:12

    After reading Terrys response about deleting the bin directory and Larrys about the the location of the ANT directory:

    I moved the files located in my projects BIN directory to the BIN/CLASSES and im up and running.

    Edit 1 Then failed on second run...doh

    Edit 2 So closed Eclipse moved files back to original location and its all working... um what? I don't pretend to know why this worked. Will update if any changes.

    Edit 3 I have noted from my backups that there were indeed duplicate files in the BIN directory and BIN/CLASSES.

    So the answer is: don't have files in both locations. At least for me that's what worked.

提交回复
热议问题