After deleting an ADV or changing Android Project target when you run or debug show the following error message:
An internal error occurred during: “Launching {project name}”.
java.lang.NullPointerException
Solution:
1) Launch ADV Manager, verify if there is an AVD for your Android Project target else create an ADV for your Target (Click on New… button, enter a Name, select your Target then press Create ADV button)
2) Run Eclipse, right-click on your Android Project name in the Package Explorer window
3) Select Properties or press Alt+Enter
4) Click on Run/Debug Settings then select your project name and click Edit
5) Select Target tab
6) Click on Automatic mode and press Refresh button
If you have more AVD for the same Target:
– Select the checkbox the ADV verified or created at point 1) then click on Manual mode
7) Press Apply button then OK button
Now you can run or debug your Android Project.
Did my solution solve your problem?
10 replies on “Eclipse – “An internal error occurred during: “Launching …”. java.lang.NullPointerException””
good! It’s work!!!!
nice! and thanks!!
Hi Kuhlmann,
thank you for your comment 😉
nice work thanks you !!!
Hi fabriscorol,
thank you for your reply. If you want you can subscribe to this blog to receive automatically updates.
No can u please help me
i need your help can u help me plzz
Hi Sir Here I took java Project And java Class if do this i did’t get any terget if i select andriod iit will display but it doesn’t recognize my avd’s what can i do please help me
[…] Solution 3: The article: Eclipse – “An internal error occurred during: “Launching …”. java.lang.NullPointerExceptio… […]
I am not getting any Project in Run/Debug setting. I am writing my program in TestNG class. Please help me.
Thanks in Advance.