studio 模拟器的异常情况汇总

studio 模拟器的异常情况汇总


Cannot launch AVD in emulator.
Output:
emulator: WARNING: Classic qemu does not support SMP. The hw.cpu.ncore option from your config file is ignored.
libpng warning: iCCP: known incorrect sRGB profile
### WARNING: unable to configure any DNS servers, name resolution will not work
libpng warning: iCCP: known incorrect sRGB profile
libpng warning: iCCP: known incorrect sRGB profile
libpng warning: iCCP: known incorrect sRGB profile
libpng warning: iCCP: known incorrect sRGB profile
libpng warning: iCCP: known incorrect sRGB profile
libpng warning: iCCP: known incorrect sRGB profile
Warning: No DNS servers found
emulator: device fd:1128
HAXM is working and emulator runs in fast virt mode
emulator: WARNING: UpdateCheck: Failure: Error
emulator: WARNING: UpdateCheck: failed to get the latest version, skipping check (current version '25.1.1'




 启动AVD时提示:PANIC: Missing arch-specific emulator program (2012-08-08 08:44:05)
转载
▼
标签: android emulator it     分类: 手机世界

早上运行之前编译好的程序,却意外发现AVD无法启动。

提示::PANIC: Missing arch-specific emulator program .....not found emulator-arm.exe in sdk/tool.....

然后尝试手工启动AVD仍然提示上述信息。

根据提示的路径(即android SDK路径下的tool文件夹)的确没有emulator-arm.exe文件。



解决办法:

找个正常运行的android环境,把SDK下tool目录中缺少的文件复制过来即可。



原因分析:文件被误删,怀疑是杀毒软件干的。。



其它问题:

入股AVD启动出现上述问题,并提示某某文件找不到。。最快解决方式,直接拷个tool文件夹复制一下解决。



上网查找类似问题发现AVD报错的情况还不少。。


SDL_app: emulator-arm.exe -应用程序错误 .
1.问题:控制台出现emulator: ERROR: the user data image is used by another emulator. aborting提示

原因:没有正确关闭模拟器

解决:在进程中结束adb.exe,重启Eclipse即可。
2.问题:出现 emulator-5554 disconnected! Cancelling xxxxxx activity launch'!

解决:run里面有一个run configrations,在里面有一个选项每次运行都察掉记录 wipe out user data,选上该选项。.
3.问题:出现 sdl_app: emulator-arm.exe应用程序错误。

解决:网上有说关闭杀毒软件的,但关闭重启后还是出错。删除该AVD,新建。在新建的过程中Snapshot 下选择enable项。
4.问题:操作raw目录下数据库文件找不到在SD卡创建的路径。

 解决:没有添加访问权限。



测试过程中,可能会出现下面的问题:

1)启动时提示:Failed to install on device ′emulator-5554′: timeout

解决办法:设备安装超时,这与你的电脑性能(运行时刻)有关系,因默认是5000ms(5秒)超时,如果你的性能较差或正运行很多程序,可以把超时时间设置长点,具体设置位置为:eclipse -> window -> Preferences -> Android ->DDMS -> ADB connection time out(ms).



2)启动时提示:emulator: WARNING: Unable to create sensors port: Unknown error

解决办法:mark是直接忽略,看了一些国外朋友的介绍,这个警告(除了警告外无其他ERROR错误)是很正常的,不影响模拟器的正常启动。这个警告是告诉用户因为无法找到真实的传感器端口,转入到仿真传感器。



3)启动时提示:Still no compatible AVDs with target 'Android 4.0.3': Aborting launch.

解决办法:出错的原因可能是没有创建android AVD,那创建一个AVD后再运行吧。



4)启动时提示: WARNING: SD Card image already in use

解决办法:出错的原因是一个SDCard只能为一个模拟器使用,如果重复使用就会出现上述的错误,mark只遇到一次,好像是启动一个模拟器后,因为太慢以为未启动,再启动了一次,过程忘了,大家遇到这个问题可以总结一下。

 以上解决方法来自互联网。 
  • 0
    点赞
  • 3
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值