View Full Version : Invalid Command-Line Parameter Eclipse Android

08-03-2011, 02:16 AM
[2011-08-03 13:32:48 - InfoProductApp] ------------------------------
[2011-08-03 13:32:48 - InfoProductApp] Android Launch!
[2011-08-03 13:32:48 - InfoProductApp] adb is running normally.
[2011-08-03 13:32:48 - InfoProductApp] Performing com.ipp.InfoProductApp activity launch
[2011-08-03 13:32:48 - InfoProductApp] Automatic Target Mode: launching new emulator with compatible AVD 'Android_1.5'
[2011-08-03 13:32:48 - InfoProductApp] Launching a new emulator with Virtual Device 'Android_1.5'
[2011-08-03 13:32:48 - Emulator] invalid command-line parameter: Files\Android\android-sdk\tools/emulator-arm.exe.
[2011-08-03 13:32:48 - Emulator] Hint: use '@foo' to launch a virtual device named 'foo'.
[2011-08-03 13:32:48 - Emulator] please use -help for more information

* This Error Comes when i begin to run my application i'm using win7 os and Eclipse Platform Android.. Please Help I want to fix it I need a Guide on step by step how to fix this problem..

08-05-2011, 08:44 AM
even I am facing the same error. Any help is highly appreciated.

08-05-2011, 09:22 AM

as you can see in the error message, it says that Files is the Problem - it's not exactly the "Files..." it's the space before - he didn't understand. You have do change the path to the Android SDK to have it without spaces at all.

So, in Eclipse -> Window -> Preferences - go to Android Section and change the SDK Location from something like C:\Program Files... to C:\Progra~1\...

It could be, that you have more than one "Progra~" directory - to find out the number you are looking for, try opening a command shell (cmd.exe), go to C root with "C:" and "cd\" if needed and run "dir /x" and you see the directory with the 8.3 Names assigned to the l0ng names.

I hope that helps you.

08-09-2011, 10:54 PM
The emulator also just hates spaces in path names to the SDK :android-sad: