专注收集记录技术开发学习笔记、技术难点、解决方案
网站信息搜索 >> 请输入关键词:
您当前的位置: 首页 > Android

帮忙看一下在搭建Eclipse的android时运行有关问题

发布时间:2010-05-30 10:53:14 文章来源:www.iduyao.cn 采编人员:星星草
帮忙看一下在搭建Eclipse的android时运行问题
C/C++ code

------------------------------
Android Launch!
adb is running normally.
No Launcher activity found!
The launch will only sync the application package on the device!
Performing sync
Automatic Target Mode: launching new emulator with compatible AVD 'em'
Launching a new emulator with Virtual Device 'em'
emulator: ERROR: no search paths found in this AVD's configuration.
Weird, the AVD's config.ini file is malformed. Try re-creating it.




------解决方案--------------------
没有配置 config.ini
ubuntu 在/home/你的用户名/.android/avd/你的AVD名称
WINDOWS在DOCUMENT and setting/你的用户名/.android/你的AVD文件夹
找到Config.ini 
skin.name=HVGA
image.sysdir.1=SDK目录下的img文件夹
skin.path=SKIN的文件夹
------解决方案--------------------
如果你的电脑中我的文档时用的中文,比如“云端漫步”,“新用户”等等。在创建android的AVD时候,会出现如下异常:

emulator:ERROR:no search paths found in this AVD's configuration. Weird, the AVD's config.ini file is malformated.

如果将我的文档改为英语,很麻烦,也很不爽。

比较好的办法是:

首先,设置环境变量:ANDROID_SDK_HOME = F:Android_Emulator(它会自动创建一个.android文件夹)

设定成功的话 ,启动eclipse,点击Windows->preferneces -> Android -> Bulid Setting,出现如下结果:
Default debug keystore: F:Android_Emulator.androiddebug.keystore

这样,再创建AVD,运行模拟器就成功了。



本文来自CSDN博客,转载请标明出处:http://blog.csdn.net/chenzhp/archive/2010/03/16/5386716.aspx
友情提示:
信息收集于互联网,如果您发现错误或造成侵权,请及时通知本站更正或删除,具体联系方式见页面底部联系我们,谢谢。

其他相似内容:

热门推荐: