1

Possible Duplicate:
Not able to launch android emulator

I just went through a smooth installation of android, and it seems to be working with my Eclipse. But when I opened the "Android SDK and AVD Manager" and pressed new to launch the new simulator, the launch screen gave me this error:

"invalid command-line parameter: Files. Hint: use '@foo' to launch a virtual device named 'foo'. please use -help for more information"

Any idea why that might occur?

Community
  • 1
  • 1
Genadinik
  • 18,153
  • 63
  • 185
  • 284
  • Actually it's called "emulator", not "simulator". – Egor Sep 08 '11 at 14:57
  • I'm disappointed this question was closed. It is a much better worded question, and the answers are much higher quality than the referenced question. – John Kraft Sep 08 '11 at 20:36

2 Answers2

2

In Windows-->Preferences-->Android

set the SDK Location like this C:\PROGRA~2\Android\android-sdk

the problem is the character space on your path

ImLearning
  • 200
  • 1
  • 12
  • Actually, how easy is it to just move my installation right to the c: ? – Genadinik Sep 08 '11 at 14:55
  • As easy as copy and pasting...I did that after running into an issue with spaces in the directory line. – ryandlf Sep 08 '11 at 15:24
  • Check if your installation is "Program Files" and than put C:\PROGRA~1\Android\android-sdk in SDK Location, instead if your installation is "Program Files (x86)" put C:\PROGRA~2\Android\android-sdk in SDK Location. – ImLearning Sep 08 '11 at 15:42
1

The error occurs because you have spaces in your path.

Try this if you installed on windows in program files:

Eclipse -> Window -> Preferences -> Android -> SDK Location: C:\PROGRA~2\Android\android-sdk

Pim Reijersen
  • 1,123
  • 9
  • 33