An internal error occurred during: “Launching Project”. java.lang.NullPointerException

后端 未结 10 2180
野趣味
野趣味 2021-01-18 04:38

My android project was compiling well but suddenly it stopped launching. Then I tried to launch other projects from Project Explorer and all project threw same exception:

10条回答
  •  野趣味
    野趣味 (楼主)
    2021-01-18 05:16

    If anyone face this problem, first keep in mind that error is not in your code but due to some internal issue in eclipse ADT. I don't know exact problem but luckily found way to solve it. If you ever encounter this error follow steps below:

    1. Exit Eclipse.
    2. Go to Android workspace.
    3. Locate .metadata folder(make sure you set hidden folder visibility on).
    4. Delete .metedata folder.
    5. Start Eclipse(you will notice project explorer is empty, don't panic) and import all your projects.

提交回复
热议问题