Invalid command line parameter when Android executes

后端 未结 10 1644
天命终不由人
天命终不由人 2020-11-30 11:27

When I click the \'run as Android application\' option, it shows the following error:

[2010-08-16 16:56:35 - Emulator] invalid command-line parameter: http:/         


        
10条回答
  •  小蘑菇
    小蘑菇 (楼主)
    2020-11-30 12:02

    I've been trying to solve this same problem for two days now, and I just found a solution which works for me:

    Cut the 'Android' file folder from it's place in the 'Program Files' (or 'Program Files (x86)' if you use Windows 7) folder and paste it directly in the C:\ directory

    Your SDK file path should look like this:

    C:\Android\android-sdk

    Simple as that :D Now the Android debugger shouldn't worry about there being a space in the file path. Let me know if additional clarification is needed

提交回复
热议问题