Android Emulator: invalid command-line parameter exception.

The default installation location is: C:\Program Files\Android\android-sdk.
If you set C:\Program Files\Android\android-sdk as SDK Location (Window -> Preferences -> Android) and try to run android application from Eclipse most likely you'll get an error:


[Emulator] invalid command-line parameter: Files\Android\android-sdk\tools/emulator-arm.exe.
[Emulator] Hint: use '@foo' to launch a virtual device named 'foo'.
[Emulator] please use -help for more information

In my opinion, this is because of space in Program Files,
so set SDK Location for 32-bit Windows

C:\PROGRA~1\Android\android-sdk

and for 64-bit Windows

C:\PROGRA~2\Android\android-sdk

No comments:

Post a Comment