- 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