Friday, 22 July 2011

Invalid command-line parameter: Files\Android\android-sdk\tools/emulator-arm.exe



Android development issue with Eclipse application.
The following errors were encountered when I tried to run a project in Eclipse application for Android development:
[2011-07-22 20:02:18 - Emulator] invalid command-line parameter: FilesAndroidandroid-sdktools/emulator-arm.exe.
[2011-07-22 20:02:18 - Emulator] Hint: use ‘@foo’ to launch a virtual device named ‘foo’.
[2011-07-22 20:02:18 - Emulator] please use -help for more information
What you need to do is to go to the Window menu then click Preferences as shown below.

Then in Android link locate the SDK Location and replace it with shortened folder location.  So from C:/Program Files/Android/android-sdk change it to C:/PROGRA~1/Android/android-sdk.  Try to restart application to be sure it will work.


No comments: