无效的命令行参数时的Andr​​oid执行时 [英] Invalid command line parameter when Android executes

查看:104
本文介绍了无效的命令行参数时的Andr​​oid执行时的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

当我点击运行为Android应用程序选项,它显示了以下错误:

  [2010-08-16 16点56分35秒 - 模拟器]无效的命令行参数:HTTP://主机名:端口。
[2010-08-16十六点56分35秒 - 模拟器]提示:使用@foo推出名为'富'的虚拟设备。
[2010-08-16十六点56分35秒 - 模拟器]请使用-help以获取更多信息
 

解决方案

显然,这个问题的路径空间,所以只从:

C:\ Program Files文件\机器人\ Android的SDK

要: C:\ PROGRA〜1 \机器人\ Android的SDK

如果你有一个64位系统

来源: C:\ Program Files文件(x86)的\机器人\ Android的SDK 到:

C:\ PROGRA〜2 \机器人\ Android的SDK

在Windows - > preferences-> Android的变化SDK位置,如上图所示。

这是翻译: http://satoriwd.com/astath/?p=11

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://hostname:port.
[2010-08-16 16:56:35 - Emulator] Hint: use '@foo' to launch a virtual device named 'foo'.
[2010-08-16 16:56:35 - Emulator] please use -help for more information

解决方案

Apparently the problem are the spaces in the path, so just from:

C:\Program Files\Android\android-sdk

to: C:\PROGRA~1\Android\android-sdk

If you have a 64 bit system

From: C:\Program Files (x86)\Android\android-sdk to:

C:\PROGRA~2\Android\android-sdk

Under Windows->Preferences->Android Change the SDK Location as shown above.

Translated from: http://satoriwd.com/astath/?p=11

这篇关于无效的命令行参数时的Andr​​oid执行时的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆