Categories
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

Solution:

In Eclipse go to menu Window -> Preferences -> Android
Change SDK Location
from
C:\Program Files\Android\android-sdk
to
C:\PROGRA~1\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?