其他分享
首页 > 其他分享> > android studio模拟器在3.0更新后崩溃

android studio模拟器在3.0更新后崩溃

作者:互联网

我一直在使用android studio,我最终安装了cocos2dx并使用arm cpu模拟器来处理cocos2dx.我最近看到一条消息提示更新android模拟器服务,所以我安装它,现在我的模拟器在尝试启动时崩溃并在logcat中给出了这个错误 – 这是它给了我的错误

19:36   Emulator: **

19:36   Emulator: ERROR:/buildbot/src/android/emu-3.0-release/external/qemu/fpu/softfloat.c:486:round_canonical: code should not be reached

    19:36   Emulator: Warning: QObject::~QObject: Timers cannot be stopped from another thread ((null):0, (null))

    19:36   ADB rejected shell command (getprop): closed

    19:36   Emulator: Process finished with exit code 3

我不知道这意味着什么,但我知道它与我下载的更新有关,有什么方法可以回滚更新吗?

解决方法:

我在Windows 10上遇到了同样的问题:当前版本的Android Emulator(2018年11月14日:28.0.16)在启动虚拟ARM设备时崩溃或冻结.当我从命令行启动它时,它会打印出来

Emulator:
ERROR:/buildbot/src/android/emu-3.0-release/external/qemu/fpu/softfloat.c:486:round_canonical:
code should not be reached

作为临时解决方案,我将模拟器降级为旧版本,问题就消失了.

在这里你可以找到Android Emulator 27.2.9:

> Windows:https://dl.google.com/android/repository/emulator-windows-4773671.zip
> Mac:https://dl.google.com/android/repository/emulator-darwin-4773671.zip
> Linux:https://dl.google.com/android/repository/emulator-linux-4773671.zip

降级模拟器的步骤:

>停止模拟器的所有实例并关闭Android Studio;
>打开Android SDK目录.它的位置可以在以下设置中找到:Android Studio-> File-> Settings-> Appearance&行为 – >系统设置 – > Android SDK-> Android SDK位置;
>将现有的“模拟器”目录移到Android SDK之外的某个位置(如果您只是重命名并将其保留在那里,AVD管理器将找到它并再次开始使用);
>将一个模拟器 – * – 4266726.zip解压缩到SDK目录中;
>启动Android Studio,在修复之前不要更新Android Emulator.

相关回答:How to downgrade Android Emulator

标签:cocos2d-x,android,android-emulator
来源: https://codeday.me/bug/20191001/1839244.html