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

后端 未结 30 2048
迷失自我
迷失自我 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 00:51

    I had the same problem, quite weird because it was happening only when using Eclipse (but it was OK with Ant). This is how I fixed it:

    • Right click on the Project Name
    • Select Build Path -> Configure Build Path
    • In Java Build Path, go to the tab Order and Export

    • Uncheck your .jar library

    Only sometimes: In Order and Export tab I did not have any jar library there, so I have unchecked Android Private Libraries item. Now my project is running.

提交回复
热议问题