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

后端 未结 30 2524
迷失自我
迷失自我 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:59

    Solution for me:

    1. BACK UP YOUR CODE!
    2. Navigate to your project workspace (not your project) and run the following commands:

      dev1:workspace$ cd ~/Documents/workspace/.metadata/.plugins/ dev1:workspace$ rm -rf org.eclipse.core.resources

    3. Navigate to your Eclipse directory and type this command:

      dev1:eclipse$ ./eclipse clear

    4. Eclipse will start with an empty workspace - don't worry your projects are still there. Simple create new project from existing resource and things should be gravy.

    The exact error I was receiving: [2012-02-07 14:15:53 - Dex Loader] Unable to execute dex: Multiple dex files define Landroid/support/v4/view/PagerAdapter; [2012-02-07 14:15:53 - ProjectCloud] Conversion to Dalvik format failed: Unable to execute dex: Multiple dex files define Landroid/support/v4/view/PagerAdapter;

提交回复
热议问题