Error Android SDK: invalid command-line parameter files [closed]

﹥>﹥吖頭↗ 提交于 2019-11-29 15:23:51
deztructicus

Its because of the spaces in "Program Files (x86)". From the eclipse menu bar do this

  1. Go to Window > Preferences
  2. Click Android
  3. 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:

  1. Create an AVD with the Android SDK and AVD Manager, remember what AVD name you used.
  2. Start Command Prompt, go to the SDK Tools folder (e.g. C:\Program Files (x86)\Android\android-sdk\tools.
  3. Type emulator.exe -avd "avd_name, (e.g. emulator.exe -avd AVD_1.5).
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!