Android use '@foo' to launch a virtual device named
2014-03-04 11:54
381 查看
本文来自http://blog.csdn.net/u012972188 ,引用必须注明出处!
cuse '@foo' to launch a virtual device named
温馨提醒:使用二维码扫描软件,就可以在手机上访问我的博客啦!另外大家可以访问另一个博客http://blog.csdn.net/runaying
概述
其实主要就是 sdk 的中文路径问题,另外还要提醒的是,建议直接从 google 官方下载集成好的开发环境(一解压就能用了),有些时候,windosw 下的旧版本会打不开 mac 版本的eclipse 创建的项目Android开发无法打开模拟器的问题:use '@foo' to launch a virtual device named
Android开发中无法打开模拟器的问题
错误提示为:
invalid command-line parameter: Files\Android\android-sdk\tools/emulator-arm.exe.Hint: use '@foo' to launch a virtual device named 'foo'.please use -help
for more information
这个问题有两种情况:1.你的安装路径中有中文,那么就重新安装SDK,放在全英文路径下吧╮(╯▽╰)╭2.这种是我遇到的,当SDK Tools从Version11升级到Version12后,出现了上述问题相信很多人的安装路径都是D:\Program Files\Java\android-sdk-windows或者C盘的Program
Files下那么这个路径中存在一个空格,于是只要消灭空格,模拟器就可以跑了……在Eclipse中打开Window > Preferences > Android将SDK的安装路径中的Program Files改成PROGRA~1,例如D:\Program Files\Java\android-sdk-windows,改为D:\PROGRA~1\Java\android-sdk-windows
然后你的模拟器就可以跑了\(^o^)/~
当然还有一种彻底解决问题的方法,就是换个没有空格的安装路径吧= =
相关文章推荐
- Android开发无法打开模拟器的问题:use '@foo' to launch a virtual device named
- Android开发无法打开模拟器的问题:use '@foo' to launch a virtual device named
- use '@foo' to launch a virtual device named 'foo'.please use -help for more information
- [错误]android invalid command-line parameter: Files. Hint: use '@foo' to launch a virtual device name
- 【错误】android invalid command-line parameter: Files. Hint: use '@foo' to launch a virtual device name
- Android开发无法打开模拟器的问题:use '@foo' to launch a virtual device named
- Android开发打开模拟器时提示:Hint: use '@foo' to launch a virtual device named 'foo'.
- Select a 'Java Application' launch configuration to use to create a runnable JAR.
- Failed to install OA.cn_android.apk on device 'emulator-5554': timeout ,进而无法进入测试
- Ubutun 编译完sdk 出现Target id is not valid. Use 'android list targets' to get the target ids.
- android学习历程——“Unable to open log device '/dev/log/main': No such file or directory”错误解决方法
- 使用命令行创建Android工程报错:"Target id is not valid. Use 'android.bat list targets' to get the target ids"
- 异常处理系列:Android开发问题:Failed to install Hello.apk on device 'emulator-5554!
- eclipse配置Android或OPhone提示Failed to find an AVD compatible with target 'Android 1.5'. Launch aborted.
- Android:Failed to install UIWidgetTest.apk on device 'emulator-5554': timeout
- android Failed to install *.apk on device 'emulator-5554' timeout 或者 the user data image is used解决办法
- 关于eclipse提示 Failed to install Android_SDK_v1.2.apk on device 'emulator-5554 : timeout
- Error: Target id 'android--1' is not valid. Use 'android.bat list targets' to get the target ids.
- could not find virtual device named 'XXX' 的解决方法
- 子线程Handler.sendMessage 报错:Attempt to invoke virtual method 'boolean android.os.Handler.sendMessage