[英]Android Studio Dolphin | 2021.3.1 Patch 1 device manager emulator is broken and distorted
I run the android emulator and it seems distorted and i tried different vitual phones and gets same glitch... Thanks for any comments in advance.我运行 android 模拟器,它似乎失真了,我尝试了不同的 vitual 手机,但出现了同样的故障……感谢您提前提出任何意见。
I tried different android SDK and virtual phone and the problem was the same maybe its related about my graphic card or intel-haxm.I don't know but maybe some one encountered same glitch... thanks我尝试了不同的 android SDK 和虚拟手机,问题是一样的,可能与我的显卡或 intel-haxm 有关。我不知道,但也许有人遇到了同样的故障……谢谢
This is a workaround I use until an bug fixed Emulator is available to use with Dolphin这是我使用的解决方法,直到修复了错误的模拟器可用于 Dolphin
To Start an AVD I use Arctic Fox and then close Arctic Fox and open Dolphin and the emulator connects to logcat over adb automatically.要启动 AVD,我使用 Arctic Fox,然后关闭 Arctic Fox 并打开 Dolphin,模拟器会自动通过 adb 连接到 logcat。
Use the zip files for installing Android Studio side by side.使用 zip 文件并排安装 Android Studio。
If in Dolphin I create a new AVD it works, but on next restart of PC -> Dolphin -> AVD Manager -> Start the same emulator.如果在 Dolphin 中我创建一个新的 AVD 它可以工作,但是在下次重新启动 PC -> Dolphin -> AVD Manager -> 启动同一个模拟器时。
The emulator start times out after 300ms, sometimes even corrupt the emulator system image and I have to try Wipe Data to get it started, but that creates a new Device, and old Device is lost forever.模拟器在 300 毫秒后启动超时,有时甚至损坏了模拟器系统映像,我必须尝试擦除数据才能启动它,但这会创建一个新设备,而旧设备将永远丢失。
Further digging points to something to do with gRPC进一步挖掘点与 gRPC 有关
Tested on Emulator version: 31.1.4在模拟器版本上测试:31.1.4
There seems to be an update available(31.3.14) but will not risk it of loosing the ability to start Emulator at all (happened when Android 12 system image was released for QEMU, Emulator started becoming dependant on Vulkan, updating HAXM fixed it)似乎有可用的更新 (31.3.14),但不会冒完全失去启动 Emulator 能力的风险(发生在为 QEMU 发布 Android 12 系统映像时,Emulator 开始变得依赖于 Vulkan,更新 HAXM 修复了它)
Somethings was clearly broken in the emulator and are being fixed模拟器中明显有问题,正在修复
31.3.10 https://developer.android.com/studio/releases/emulator#31-3-10 31.3.10 https://developer.android.com/studio/releases/emulator#31-3-10
31.3.11 https://developer.android.com/studio/releases/emulator#31-3-11 31.3.11 https://developer.android.com/studio/releases/emulator#31-3-11
If you want to revert to other emulator versions, you can find the emulator setups here如果你想恢复到其他模拟器版本,你可以在这里找到模拟器设置
https://developer.android.com/studio/emulator_archive https://developer.android.com/studio/emulator_archive
UPDATE 1:更新 1:
Run the emulator from command line with to find the detailed issue $ANDROID_SDK_ROOT/emulator/emulator -avd <NameOfAVD> -verbose -show-kernel
从命令行运行模拟器以查找详细问题
$ANDROID_SDK_ROOT/emulator/emulator -avd <NameOfAVD> -verbose -show-kernel
Mine is stuck in a boot loop我的卡在启动循环中
[ 58.526191] init: Reboot ending, jumping to kernel
[ 58.754699] reboot: Restarting system with command 'boringssl-self-check-failed'
[ 58.778271] reboot: machine restart
UPDATE 2:更新 2:
There appears to be an issue open with the emulator team at Google about this https://issuetracker.google.com/issues/256418219 Google 的仿真器团队似乎有一个关于此https://issuetracker.google.com/issues/256418219的问题
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.