Errors running builder 'Android Resource Manager' on ADT

前端 未结 19 1639
半阙折子戏
半阙折子戏 2020-12-08 00:38

I am facing a problem when I try to create new android project in eclipse adt plugin tools.

ERROR/EXCEPTION::

Errors occurred during the build. Errors

相关标签:
19条回答
  • 2020-12-08 01:20

    I have several projects in my folder. Every time I start a new one I close the others. I got this error because appcompat_v7 was closed.

    • Right click on appcompat_v7 and select Open Project.

    This solved my problem.

    0 讨论(0)
  • 2020-12-08 01:26

    If you close eclipse and then look in your system processes and still see adb running, then that's the problem - it crashed. In my case it was because I have extension files for other programs in my JRE that the adb doesn't seem to like. Remove all your ext files, force shut down your adb.exe and then restart eclipse.

    Root exception:

    java.lang.NoClassDefFoundError: org/apache/log4j/Priority
    
    0 讨论(0)
  • 2020-12-08 01:27

    Make a copy of your project in Explorer/Finder. Delete the project in ADT/Eclipse. Import the project again using Eclipse. Project/Clean then build. This works for me.

    0 讨论(0)
  • 2020-12-08 01:27

    Solved after changing a setting in eclipse.ini. I am using OS X 10.11.4 and Eclipse Mars 4.5.2.

    1. Go to the folder of Eclipse.app in Finder.
    2. Right click to open a menu, and click Show Package Contents.
    3. Go to /Contents/Eclipse.
    4. Open eclipse.ini in your favorite text editor.
    5. change -vm path like below:

      BEFORE: /Library/Java/JavaVirtualMachines/jdk1.7.0_79.jdk/Contents/Home/jre/bin

      AFTER: /Library/Java/JavaVirtualMachines/jdk1.8.0_73.jdk/Contents/Home/jre/bin

    6. reopen Eclipse.

    7. enjoy :D
    0 讨论(0)
  • 2020-12-08 01:28

    These simple steps put me out of this trouble -

    1. In Eclipse, Help menu -> Check for Updates.
    2. Select all Android related plugins.
    3. Click Next, Accept the agreement page then proceed to install the plugin.
    0 讨论(0)
  • 2020-12-08 01:31

    Usually this means that they have one more time introduced a bug.

    The "magic passes" that may help or not help are:

    1. Pressing F5 (refresh)
    2. Updating Android, Eclipse and ADT (knowing that you do have such a problem, I myself definitely will not do any such updates in the near future)
    3. Creating a project from the command line, building it and trying to import
    4. If you have any project that already works, you may try to take files from that project.
    5. Read the logs, they are usually more informative than just the last 30 lines, but on Windows you will have to either configure the screen buffer height to be about 300-600, or redirect the output to a file.
    6. Clean and build again.
    0 讨论(0)
提交回复
热议问题