Issue
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:
An internal error occurred during: "Launching Project". java.lang.NullPointerException
But console always shows everything is normal.
Android Launch! adb is running normally. Performing com.mmcolrev.LoginActivity activity launch
Here's screenshot of error.
Solution
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:
- Exit Eclipse.
- Go to Android workspace.
- Locate .metadata folder(make sure you set hidden folder visibility on).
- Delete .metedata folder.
- Start Eclipse(you will notice project explorer is empty, don't panic) and import all your projects.
Answered By - Crawler
Answer Checked By - Candace Johnson (JavaFixing Volunteer)