当前位置: 代码迷 >> Android >> HelloWrod过不去呀解决思路
  详细解决方案

HelloWrod过不去呀解决思路

热度:16   发布时间:2016-05-01 10:45:31.0
HelloWrod过不去呀
run as android application,抛错。貌似模拟器不给力啊……

[2013-04-18 10:46:07 - HelloWrod] ------------------------------
[2013-04-18 10:46:07 - HelloWrod] Android Launch!
[2013-04-18 10:46:07 - HelloWrod] adb is running normally.
[2013-04-18 10:46:07 - HelloWrod] Performing com.example.hellowrod.MainActivity activity launch
[2013-04-18 10:46:07 - HelloWrod] Automatic Target Mode: launching new emulator with compatible AVD 'MyADT'
[2013-04-18 10:46:07 - HelloWrod] Launching a new emulator with Virtual Device 'MyADT'
[2013-04-18 10:46:07 - Emulator] emulator: ERROR: This AVD's configuration is missing a kernel file!!


------解决方案--------------------
删除模拟器
重新安装Android SDK
新建模拟器
再试
------解决方案--------------------
引用:
run as android application,抛错。貌似模拟器不给力啊……

[2013-04-18 10:46:07 - HelloWrod] ------------------------------
[2013-04-18 10:46:07 - HelloWrod] Android Launch!
[2013-04-18 10:46:07 - HelloWrod] adb ……


ERROR: This AVD's configuration is missing a kernel file!!
 
你的AVD缺少相关核心文件  去重新下载一个试试吧 
------解决方案--------------------
AVD的配置丢失一个内核配置文件,你看一下少了什么文件,实在不行,就把模拟器删除了,重新安装一个。
如果你有android系统的智能手机的话,你也可以在真机上面测试,在真机上面测试你写的程序比在模拟器上面好,很快,很方便!
------解决方案--------------------
模拟器创建的有问题.
建议:
1. 重新创建AVD;
2. 如果重新创建AVD也不行,建议升级SDK,要不是重新下载SDK.
------解决方案--------------------
到安卓官网上下载一个Android SDK.http://developer.android.com/sdk/index.html
  相关解决方案