Eclipse – “An internal error occurred during: “Launching …”. java.lang.NullPointerException”

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?

ADT Plugin for Eclipse – “Cannot complete the install because one or more required items could not be found. Software being installed: Android Development Tools 15.0.0.v201110251216-213216 (com.android.ide.eclipse.adt.feature.group 15.0.0.v201110251216-213216) Missing requirement: Android Development Tools 15.0.0.v201110251216-213216 (com.android.ide.eclipse.adt.feature.group 15.0.0.v201110251216-213216) requires ‘org.eclipse.wst.sse.core 0.0.0’ but it could not be found”

When you try to download the ADT Plugin show the following error message:

Cannot complete the install because one or more required items could not be found.
Software being installed: Android Development Tools 15.0.0.v201110251216-213216 (com.android.ide.eclipse.adt.feature.group 15.0.0.v201110251216-213216)
Missing requirement: Android Development Tools 15.0.0.v201110251216-213216 (com.android.ide.eclipse.adt.feature.group 15.0.0.v201110251216-213216) requires ‘org.eclipse.wst.sse.core 0.0.0’ but it could not be found

Solution:

Right-click on Eclipse.exe file or his shortcut and chose “Run As Administrator” then

  1. Select Help > Install New Software….
  2. Click Add, in the top-right corner.
  3. In the Add Repository dialog that appears, enter “ADT Plugin” for the Name and the following URL for the Location:
    https://dl-ssl.google.com/android/eclipse/
  4. Click OK
  5. In the Available Software dialog, select the checkbox next to Developer Tools and click Next.
  6. In the next window, you’ll see a list of the tools to be downloaded. Click Next.
  7. Read and accept the license agreements, then click Finish.Note: If you get a security warning saying that the authenticity or validity of the software can’t be established, click OK.
  8. When the installation completes, restart Eclipse.

Did my solution solve your problem?