0

I've just installed Eclipse with fresh Android SDK and ADT on Windows 7 x64 Professional. I've created an emulator and tried to start it, but starting fails with this message:

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

When I create another emulator, it also fails to start with the same message. Can anyone provide a solution? Thanks in advance.

Egor
  • 39,695
  • 10
  • 113
  • 130
  • The "Files" tells me there is a script somewhere that is running a binary in `"C:\Program Files"` but is bombing out because of the space in the name. You may want to try reinstalling the Android SDK/ADT somewhere other than under "Program Files" like say `"C:\AndroidSDK"` to see if this fixes it... – scorpiodawg Sep 19 '11 at 20:53
  • Also asked here: http://stackoverflow.com/questions/7476122/android-eclipse-emulator-device-not-running – scorpiodawg Sep 19 '11 at 21:08

2 Answers2

1

Change the path of Android SDK to make sure it has no spaces, for example use Progra~1 instead of Program Files.

SpeedBirdNine
  • 4,610
  • 11
  • 49
  • 67
  • 1
    Thanks, this indeed works! I'm a bit confused, why the installer lets me install the SDK in such a directory.. – Egor Sep 19 '11 at 21:30
1

Don't use a path that contains withespace for the SDK installation. You can also try from command line:

emulator @foo

considering that your PATH includes the SDK installation directory.

Diego Torres Milano
  • 65,697
  • 9
  • 111
  • 134