Errors running builder 'Android Resource Manager' on ADT

前端 未结 19 1641
半阙折子戏
半阙折子戏 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:11

    You can also try one of these:

    • Close and open the project in Eclipse
    • Click right on the project and choose: Android Tools -> Fix Project Properties
    0 讨论(0)
  • 2020-12-08 01:12

    I was experiencing the same issue - I refreshed and updated Eclipse and Android plugins and was still seeing the NPE. What worked for me was changing the order of operations.

    In order:

    1. update Eclipse & Android plugins
    2. after the update has completed, perform the F5 Refresh in the current workspace
    
    0 讨论(0)
  • 2020-12-08 01:14

    I beat my head against a wall for a day because of the same problem. My solution (OS X): I had a stale "java_home" definition in my profile pointing to a dead symlink, as well as old classes in /Library/Java/Extensions. I removed the definition and symlink, along with two classes in Extensions (ActiveMQ and Geronimo, FWIW) and the problem went away. Not sure which step was the actual "rectifier" but if any of those conditions apply, you might want to check them.

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

    I guess you upgrade your java to java7u55.

    because I am using mac, but, FYI

    I solve this by edit eclipse.ini, force the ide to use java 1.6

    -vm /System/Library/Frameworks/JavaVM.framework/Versions/1.6.0/Commands/java

    you could try the same.

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

    found a better solution. in the create project wizard. don't create an activity in the wizard. just untick create an activity and just create the activity manually in the manifest.

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

    You usually get this after an SDK/ADT update.

    Go to your SDK manager and ensure that there are no updates. Then in Eclipse go to Help > Check for Updates and install any updates it finds.

    Restart eclipse and hopefully it should all work.

    Failing that uninstall Eclipse and re-install Eclipse and the plugins again should fix it as well, no need to re-install your whole PC.

    0 讨论(0)
提交回复
热议问题