Android模拟器错误消息:" PANIC:缺少仿真器引擎计划'86'CPUS" [英] Android Emulator Error Message: "PANIC: Missing emulator engine program for 'x86' CPUS."

查看:6116
本文介绍了Android模拟器错误消息:" PANIC:缺少仿真器引擎计划'86'CPUS"的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我的问题。我试图通过使用AVD管理器来运行Android模拟器。 这是我的AVD: http://image-upload.de/image/fnx79V/52b0d050ee.png

I got the Problem. I am trying to run a Android Emulator by using AVD Manager. this is my avd: http://image-upload.de/image/fnx79V/52b0d050ee.png

和,这是通过开始发生的情况:

and this is what happens by starting:

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

我有一个MacBook Pro的视网膜。安装了Haxm驱动程序直接从英特尔页。

I have a Macbook Pro Retina. Installed the Haxm driver direct from intel page.

没有模拟器的工作。都得到相同的错误的信息。

No emulator is working. All get the same "error" message.

请帮帮我!我不知道该怎么做:/

Please help me! I don't know what to do :/

运行命令(当我用自制软件安装的Andr​​oid SDK和Android为平台的工具,这个错误是|人谁得到了同样的问题应该删除这个还是看那里的冲突)

Running Command (This error was when i used Homebrew for installing Android-sdk and Android-platform-tools | anyone who get the same problem should remove this or look where the conflict is)

export ANDROID_EMULATOR_DEBUG=1 test20

emulator:Found AVD name 'test20'
emulator:Found AVD target architecture: x86
emulator:Looking for emulator-x86 to emulate 'x86' CPU
emulator:Probing program: ./emulator-x86
emulator:Probing path for: emulator-x86
emulator:Found target-specific emulator binary: /usr/local/bin/emulator-x86
emulator:Probing for: /usr/local/bin/libOpenglRender.dylib
emulator:Probing for: /usr/local/bin/lib/libOpenglRender.dylib
emulator:Probing for: /usr/local/lib/libOpenglRender.dylib
emulator:Probing for: /usr/local/bin/lib64OpenglRender.dylib
emulator:Probing for: /usr/local/bin/lib/lib64OpenglRender.dylib
emulator:Probing for: /usr/local/lib/lib64OpenglRender.dylib
emulator:Could not find OpenGLES emulation host libraries!
emulator: ERROR: This AVD's configuration is missing a kernel file!!

emulator -avd test21
emulator:Found AVD name 'test21'
emulator:Found AVD target architecture: x86_64
emulator:Looking for emulator backend for x86_64 CPU
emulator:Probing program: ./emulator-x86_64
emulator:Probing path for: emulator-x86_64
emulator:Looking for emulator-x86 to emulate 'x86_64' CPU
emulator:Probing program: ./emulator-x86
emulator:Probing path for: emulator-x86
PANIC: Missing emulator engine program for 'x86_64' CPUS.

在我固定家酿的问题:

我试了一下四周,发现这一点:

I tried a bit around and found this:

emulator64-x86 -avd test20
Creating 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: 7
Created filesystem with 11/4224 inodes and 1302/16896 blocks
emulator: ERROR: Could not load OpenGLES emulation library: dlopen(lib64OpenglRender.dylib, 1): image not found
emulator: WARNING: Could not initialize OpenglES emulation, using software renderer.
HAX is working and emulator runs in fast virt mode
qemu: could not load PC BIOS 'bios.bin'

对于所有谁拥有了同样的问题,也许这些步骤能够帮助:

For all who has the same problem, maybe these steps help:

运行您的仿真器在调试模式下:

Run your Emulator in Debug mode:

export ANDROID_EMULATOR_DEBUG=1 emulatorName

如果有那异样的眼光检查是否有其他的设备,如自制软件,并删除冲突的路径(卸载一个)

If there is a path that look strange check for other installations like Homebrew and remove the conflict (uninstall one)

在图书馆丢失需要导出的变量:

When the library is missing you need to export the variable:

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

当错误QEMU:无法加载PC BIOSBIOS.BIN'时,人们的解决方法是运行完整路径模拟器:

And when error "qemu: could not load PC BIOS 'bios.bin'" appears, one fix is to run the emulator with the full path:

/Applications/Android\ Studio.app/sdk/tools/emulator64-x86 -avd test20
In your case it is maybe a other path.

感谢很多数字!你帮了我这么多的:)

THANKS A LOT Digit !! You helped me so much :)

推荐答案

以下解决方法来启动仿真器86为我工作:

The following work-around to start emulator-x86 worked for me:

cd $SDK/tools; 
ln -s emulator64-x86 emulator-x86

和现在的仿真器将来自SDK管理器启动。

And now the emulator will start from the SDK manager.

这篇关于Android模拟器错误消息:" PANIC:缺少仿真器引擎计划'86'CPUS"的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
相关文章
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆