开发者

invalid command line parameter when android execution

When I click the run as android application it shows the following error:

[2011-05-20 10:32:45 - Emulator] invalid command-line parameter: on.
[2011-05-20 10:32:45 - Emula开发者_开发技巧tor] Hint: use '@foo' to launch a virtual device named 'foo'.
[2011-05-20 10:32:45 - Emulator] please use -help for more information


This is most probably due to a space in the path. As Revision 12 is giving this error for everyone. Mine is Revision 12 in Eclipse Indigo Classic.

  • Please move your android-sdk folder to somewhere so that there doesn't contain any space in the path.

  • Or, try from command line.


Use below steps -

  1. Right click Project -> Run As -> Run Configure -> Target
  2. Scroll Down
  3. Additional emulator command line option, type

    -http-proxy http://10.1.1.10:8080
    
  4. Restart ur emulator, it will work, and it is working for me too

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜