Your project contains error(s), please fix it before running it

前端 未结 26 2512
暖寄归人
暖寄归人 2020-12-04 05:31

I am developing a simple Android application. But when I run Eclipse, it shows the following error:

Your project contains error(s), please fix it befo

相关标签:
26条回答
  • 2020-12-04 05:56

    First go to Window -> Show View -> Error Logs in menu. It will display error logs if you have any. Then try to clean the project and build it again.

    0 讨论(0)
  • 2020-12-04 05:56

    I had the exact same problem after updating the SDK and ADT. My issue was resolved by deleting the .android folder (hidden) under C:\Users\USERNAME\

    0 讨论(0)
  • 2020-12-04 05:56

    In my case, it happens with ADT 22.

    I choose not to create Activity.

    After I remove the "appcompat_v7" as library project. I works.

    0 讨论(0)
  • 2020-12-04 05:57

    What caused this problem for me was none of the above, but simply that I'd left the "debuggable" attribute to false in the manifest.xml file after doing a release. D'oh!

    Of course neither the LogCat, Error log, Console, or Problems window alerted me to this..

    0 讨论(0)
  • 2020-12-04 06:00

    it can also happen if you move required files. Simply check Problems View (menu window -> show view -> Problems) as told here

    0 讨论(0)
  • 2020-12-04 06:01

    This is happened to me. After format of my system,
    When i import project it shows same error

    remove first debug.keystore file then goto -

    Project -> Project properties -> select library -> remove -> add again libraries.

    It's working for me......

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