Android Eclipse Emulator

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}”.


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?

Android Eclipse Emulator SDK

Eclipse – “invalid command-line parameter: Files\Android\android-sdk\tools/emulator-arm.exe”

After Android SDK update, when you try to launch the Emulator from Eclipse show this error message:
[… – Emulator] invalid command-line parameter: FilesAndroidandroid-sdktools/emulator-arm.exe.
[… – Emulator] Hint: use ‘@foo’ to launch a virtual device named ‘foo’.
[… – Emulator] please use -help for more information


In Eclipse go to menu Window -> Preferences -> Android
Change SDK Location
C:\Program Files\Android\android-sdk
then click Apply and OK.

Like ahmed said in his comment:
“You have do change the path to the Android SDK to have it without spaces at all.” 😉

Alternative Solution: by Brandon Peters (@cisox):
Create a symlink between the android-sdk folder in C:\Program Files (x86) and C:\AndroidSDK:

Start Command Prompt Window (Start -> Run -> cmd) and execute the following command:

mklink /D C:AndroidSDK “C:\Program Files (x86)\Android\android-sdk”

Did my solution solve your problem?