<small id='cSSpC'></small><noframes id='cSSpC'>

      <i id='cSSpC'><tr id='cSSpC'><dt id='cSSpC'><q id='cSSpC'><span id='cSSpC'><b id='cSSpC'><form id='cSSpC'><ins id='cSSpC'></ins><ul id='cSSpC'></ul><sub id='cSSpC'></sub></form><legend id='cSSpC'></legend><bdo id='cSSpC'><pre id='cSSpC'><center id='cSSpC'></center></pre></bdo></b><th id='cSSpC'></th></span></q></dt></tr></i><div id='cSSpC'><tfoot id='cSSpC'></tfoot><dl id='cSSpC'><fieldset id='cSSpC'></fieldset></dl></div>
    1. <tfoot id='cSSpC'></tfoot>
      <legend id='cSSpC'><style id='cSSpC'><dir id='cSSpC'><q id='cSSpC'></q></dir></style></legend>
        <bdo id='cSSpC'></bdo><ul id='cSSpC'></ul>
    2. Android Emulator 错误消息:“PANIC: Missing emulator engi

      时间:2023-08-29
      <legend id='dF3nI'><style id='dF3nI'><dir id='dF3nI'><q id='dF3nI'></q></dir></style></legend>
    3. <tfoot id='dF3nI'></tfoot>

          <i id='dF3nI'><tr id='dF3nI'><dt id='dF3nI'><q id='dF3nI'><span id='dF3nI'><b id='dF3nI'><form id='dF3nI'><ins id='dF3nI'></ins><ul id='dF3nI'></ul><sub id='dF3nI'></sub></form><legend id='dF3nI'></legend><bdo id='dF3nI'><pre id='dF3nI'><center id='dF3nI'></center></pre></bdo></b><th id='dF3nI'></th></span></q></dt></tr></i><div id='dF3nI'><tfoot id='dF3nI'></tfoot><dl id='dF3nI'><fieldset id='dF3nI'></fieldset></dl></div>

          <small id='dF3nI'></small><noframes id='dF3nI'>

            <bdo id='dF3nI'></bdo><ul id='dF3nI'></ul>
                  <tbody id='dF3nI'></tbody>
                本文介绍了Android Emulator 错误消息:“PANIC: Missing emulator engine program for 'x86' CPUS."的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

                问题描述

                我正在尝试使用 AVD 管理器运行 Android 模拟器.这是我的avd:http://image-upload.de/image/fnx79V/52b0d050ee.png

                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 Retina.直接从英特尔页面安装 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.

                运行命令(当我使用 Homebrew 安装 Android-sdk 和 Android-platform-tools 时出现此错误 | 遇到相同问题的任何人都应该删除它或查看冲突所在)

                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.
                

                在我用 Homebrew 解决问题后:

                After I fixed the problem with Homebrew:

                我试了一下,发现了这个:

                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
                

                如果路径看起来很奇怪,请检查 Homebrew 等其他安装并消除冲突(卸载一个)

                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: could not load PC BIOS 'bios.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.
                

                推荐答案

                如果你使用的是 macOS,请将 Android SDK emulatortools 目录都添加到路径中:

                If you are using macOS, add both Android SDK emulator and tools directories to the path:

                第 1 步:在我的情况下,顺序很重要,首先是 emulator,然后是 tools.

                Step 1: In my case the order was important, first emulator and then tools.

                export ANDROID_SDK=$HOME/Library/Android/sdk
                export PATH=$ANDROID_SDK/emulator:$ANDROID_SDK/tools:$PATH
                

                第 2 步:根据操作系统重新加载 .bash_profile.bashrc

                Step 2: Reload you .bash_profile Or .bashrc depending on OS

                第 3 步: 获取可用模拟器列表:$emulator -list-avds

                Step 3: Get list of emulators available: $emulator -list-avds

                第 4 步: 从命令行启动模拟器并将 avd 替换为您的模拟器的名称 $emulator @avd

                Step 4: Launch emulator from the command line and Replace avd with the name of your emulator $emulator @avd

                不要忘记添加 @ 符号.

                Don't forget to add the @ symbol.

                这是使用 macOS High Sierra 10.13.4 和 Android Studio 3.1.2 测试的.

                This was tested with macOS High Sierra 10.13.4 and Android Studio 3.1.2.

                这篇关于Android Emulator 错误消息:“PANIC: Missing emulator engine program for 'x86' CPUS."的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持html5模板网!

                上一篇:如何旋转 Android 模拟器显示? 下一篇:将 Android 设备连接到本地主机上的 Web 服务

                相关文章

                最新文章

                  <legend id='051ce'><style id='051ce'><dir id='051ce'><q id='051ce'></q></dir></style></legend>

                  <small id='051ce'></small><noframes id='051ce'>

                  • <bdo id='051ce'></bdo><ul id='051ce'></ul>
                  <tfoot id='051ce'></tfoot>

                    <i id='051ce'><tr id='051ce'><dt id='051ce'><q id='051ce'><span id='051ce'><b id='051ce'><form id='051ce'><ins id='051ce'></ins><ul id='051ce'></ul><sub id='051ce'></sub></form><legend id='051ce'></legend><bdo id='051ce'><pre id='051ce'><center id='051ce'></center></pre></bdo></b><th id='051ce'></th></span></q></dt></tr></i><div id='051ce'><tfoot id='051ce'></tfoot><dl id='051ce'><fieldset id='051ce'></fieldset></dl></div>