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

前端 未结 26 2598
暖寄归人
暖寄归人 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 06:22

    Recently I came across this error. I was really in a corner with no help, then I figured it out. This error can occur for the following reasons:

    • An error in the project code
    • Improper linking of external library files to the project
    • Most important: if your debug.keystore file is expired.

    The first 2 cases are easily identifiable but the third one is like searching a black box in a dark room.

    So in addition to Project -> Clean, remove your debug.keystore file also.

    I am using Mac + Eclipse so to remove, I wrote the command rm ~/.android/.debug.keystore in a terminal.

提交回复
热议问题