Android Emulator - invalid command-line parameter?

This problem is caused by blank spaces in the path you setup in the Android SDK. The solution is that you should move the folder of the Android SDK to a place without spaces, in your case: E:\andriod-sdk-windows or D:\abc\xyz\android-sdk-windows.

Thank you Hung Tran. I changed the path name to remove the space by using PROGRA~1 instead of PROGRAM FILES as suggested in another link and it works now. – A Taylor Jul 9 at 11:52 How does that work when you use visual studio?

With monotouch? – Joe Jul 16 at 1:45.

Please refer to the Stack Overflow post Starting the Android emulator in SDK tools, revision 12 for a solution. It did not come up in the search, but it did correct my problem. The space in the path name (PROGRAM FILES) seems to be causing the problem.

I took the renaming suggestion to change the path name to PROGRA~1, and my problem was resolved.

1 Additional note: If you have "Program Files (x86)" folder, then it should be PROGRA~2. – NPC Sep 12 at 9:46.

It looks like someone already reported this problem, Issue 18317: Emulator in R12 doesn't properly invoke emulator-arm. Exe if the install path as a space in it ... to summarize: Yes, there will be a fix. We're working on it.

The primary workaround is install in a path with no spaces, e.g. C:\android. If that's not a choice, the second workaround right now is to use the "short path" Windows notation, e.g."C:\PROGRA~1" either on command lines or in the Eclipse preferences. Remember that the number might change depending on your directories; you can use "dir /X c:\" in cmd.

Exe to see the exact short path for a given directory. We'll have to wait for their fix but in the meantime we can just remove the spaces in the Android installation directory.

In Eclipse go to Windows -> Preferences -> Android and in your SDK location replace C:\Program Files\android-sdk-windows with C:\PROGRA~1\android-sdk-windows.

This post has already been answered about a month ago by myself and several other contributors. – A Taylor Aug 15 at 1:20.

If you want to run the emulator only without eclipse you'll need to create a . Bat file with the SDK short path: for 32 bits machines: C:\PROGRA~1\Android\android-sdk\SDK Manager. Exe for 64 bits machines: C:\PROGRA~2\Android\android-sdk\SDK Manager.exe.

2011-07-10 07:10:22 - demo Android Launch! 2011-07-10 07:10:24 - demo adb is running normally. 2011-07-10 07:10:24 - demo Performing com.demo.

2011-07-10 07:11:06 - Emulator invalid command-line parameter: Files\Android\android-sdk\tools/emulator-arm.exe. 2011-07-10 07:11:07 - Emulator Hint: use '@foo' to launch a virtual device named 'foo'.

I cant really gove you an answer,but what I can give you is a way to a solution, that is you have to find the anglde that you relate to or peaks your interest. A good paper is one that people get drawn into because it reaches them ln some way.As for me WW11 to me, I think of the holocaust and the effect it had on the survivors, their families and those who stood by and did nothing until it was too late.

Related Questions