Android模拟器错误消息:“PANIC:”x86“CPUS缺少仿真器引擎程序.

Android模拟器错误消息:“PANIC:”x86“CPUS缺少仿真器引擎程序.,第1张

概述我试图通过使用AVD管理器运行一个 Android模拟器. 这是我的avd: http://image-upload.de/image/fnx79V/52b0d050ee.png 这是通过开始发生的事情: http://image-upload.de/image/vGpQfa/e912d83939.png 我有一个Macbook Pro视网膜从intel页面直接安装Haxm驱动程序. 没有模拟器正 我试图通过使用AVD管理器运行一个 Android模拟器.
这是我的avd:
http://image-upload.de/image/fnx79V/52b0d050ee.png

这是通过开始发生的事情:

http://image-upload.de/image/vGpQfa/e912d83939.png

我有一个Macbook Pro视网膜从intel页面直接安装Haxm驱动程序.

没有模拟器正在工作.所有得到相同的“错误”消息.

运行命令(这个错误是当我使用Homebrew安装AndroID-sdk和AndroID平台工具|任何获得相同问题的人都应该删除或查看冲突的位置)

export ANDROID_EMulATOR_DEBUG=1 test20emulator:Found AVD name 'test20'emulator:Found AVD target architecture: x86emulator:Looking for emulator-x86 to emulate 'x86' cpuemulator:Probing program: ./emulator-x86emulator:Probing path for: emulator-x86emulator:Found target-specific emulator binary: /usr/local/bin/emulator-x86emulator:Probing for: /usr/local/bin/libOpenglrender.dylibemulator:Probing for: /usr/local/bin/lib/libOpenglrender.dylibemulator:Probing for: /usr/local/lib/libOpenglrender.dylibemulator:Probing for: /usr/local/bin/lib64Openglrender.dylibemulator:Probing for: /usr/local/bin/lib/lib64Openglrender.dylibemulator:Probing for: /usr/local/lib/lib64Openglrender.dylibemulator:Could not find OpenGLES emulation host librarIEs!emulator: ERROR: This AVD's configuration is missing a kernel file!!emulator -avd test21emulator:Found AVD name 'test21'emulator:Found AVD target architecture: x86_64emulator:Looking for emulator backend for x86_64 cpuemulator:Probing program: ./emulator-x86_64emulator:Probing path for: emulator-x86_64emulator:Looking for emulator-x86 to emulate 'x86_64' cpuemulator:Probing program: ./emulator-x86emulator:Probing path for: emulator-x86PANIC: Missing emulator engine program for 'x86_64' cpuS.

在我解决了Homebrew的问题之后:

我试过一下,发现这一点:

emulator64-x86 -avd test20Creating filesystem with parameters:    Size: 69206016    Block size: 4096    Blocks per group: 32768    Inodes per group: 4224    Inode size: 256    Journal blocks: 1024    Label:     Blocks: 16896    Block groups: 1    Reserved block group size: 7Created filesystem with 11/4224 inodes and 1302/16896 blocksemulator: ERROR: Could not load OpenGLES emulation library: dlopen(lib64Openglrender.dylib,1): image not foundemulator: WARNING: Could not initialize OpenglES emulation,using software renderer.HAX is working and emulator runs in fast virt modeqemu: Could not load PC BIOS 'bios.bin'

对于所有有同样问题的人,也许这些步骤有帮助:

在调试模式下运行模拟器:

export ANDROID_EMulATOR_DEBUG=1 emulatorname

如果有一个奇怪的路径检查其他安装如Homebrew和删除冲突(卸载一个)

当库缺失时,需要导出变量:

export LD_liBRARY_PATH=$LD_liBRARY_PATH:$ANDROID_HOME/tools/lib

而当出现错误“qemu:无法加载PC BIOS”bios.bin“时,一个修复是运行仿真器的完整路径:

/Applications/AndroID\ Studio.app/sdk/tools/emulator64-x86 -avd test20In your case it is maybe a other path.
解决方法 以下解决方案启动emulator-x86为我工作:
cd $SDK/tools; ln -s emulator64-x86 emulator-x86

现在,模拟器将从SDK经理开始.

总结

以上是内存溢出为你收集整理的Android模拟器错误消息:“PANIC:”x86“CPUS缺少仿真器引擎程序.全部内容,希望文章能够帮你解决Android模拟器错误消息:“PANIC:”x86“CPUS缺少仿真器引擎程序.所遇到的程序开发问题。

如果觉得内存溢出网站内容还不错,欢迎将内存溢出网站推荐给程序员好友。

欢迎分享,转载请注明来源:内存溢出

原文地址: http://outofmemory.cn/web/1133187.html

(0)
打赏 微信扫一扫 微信扫一扫 支付宝扫一扫 支付宝扫一扫
上一篇 2022-05-30
下一篇 2022-05-30

发表评论

登录后才能评论

评论列表(0条)

保存