studio 模拟器的异常情况汇总

来源:互联网 发布:西洋刺剑 知乎 编辑:程序博客网 时间:2024/04/29 17:39

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 worklibpng warning: iCCP: known incorrect sRGB profilelibpng warning: iCCP: known incorrect sRGB profilelibpng warning: iCCP: known incorrect sRGB profilelibpng warning: iCCP: known incorrect sRGB profilelibpng warning: iCCP: known incorrect sRGB profilelibpng warning: iCCP: known incorrect sRGB profileWarning: No DNS servers foundemulator: device fd:1128HAXM is working and emulator runs in fast virt modeemulator: WARNING: UpdateCheck: Failure: Erroremulator: 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 0
原创粉丝点击