It won't start the virtual device. Why can't things just work??
I'd rather not reinstall everything outside Program Files directory and I don't know and don't care what Eclipse is.
deztructicus
Its because of the spaces in "Program Files (x86)". From the eclipse menu bar do this
- Go to Window > Preferences
- Click Android
- At the "SDK Location bar" change it from C:\Program Files (x86)\Android\android-sdk to C:\Progra~2\Android\android-sdk
It should work perfectly now. (However if you're using a 32bit system then you'd have to change it to 'Progra~1' not 2.)
My guess is that you installed the SDK in a path with a space in it. Try uninstalling and installing to C:\Android or something.
Source: http://ideanotion.net/android-sdk-invalid-command-line-parameter-files-error/
random_dude
Assuming Windows install:
- Create an AVD with the Android SDK and AVD Manager, remember what AVD name you used.
- Start Command Prompt, go to the SDK Tools folder (e.g.
C:\Program Files (x86)\Android\android-sdk\tools
. - Type
emulator.exe -avd "avd_name
, (e.g.emulator.exe -avd AVD_1.5
).
来源:https://stackoverflow.com/questions/6920816/error-android-sdk-invalid-command-line-parameter-files