新创建的Chromebook操作系统模拟器在启动时崩溃 [英] newly created Chromebook OS emulator crashes on start up
问题描述
我最近在 https://developer的帮助下,在Android Studio上创建了Chromebook OS仿真器. android.com/topic/arc/emulator ,但是,它在启动并出现以下错误时崩溃
I recently created a Chromebook OS emulator on Android Studio with the help of https://developer.android.com/topic/arc/emulator , however, it crashes on launch and getting following errors
12:12 PM Emulator: qemu-system-x86_64: -usbdevice tablet: '-usbdevice' is deprecated, please use '-device usb-...' instead
12:12 PM Emulator: emulator: WARNING: EmulatorService.cpp:448: Cannot find certfile: /Users/sshinde/.android/emulator-grpc.cer security will be disabled.
12:12 PM Emulator: Started GRPC server at 127.0.0.1:8554
12:12 PM Emulator: virto-goldfish-pipe fatal error: init:469: Could not get virtio gpu ops!
12:12 PM Emulator: Process finished with exit code 134 (interrupted by signal 6: SIGABRT)
我还尝试将Android Studio更新到最新版本3.6.1,但模拟器仍然崩溃.还有其他方法可以在Chrome OS上测试android应用或如何解决这些错误吗?附言:我没有实际的设备
I also tried updating Android studio to latest version 3.6.1 but the emulator still crashes. Is there any other way to test android app on Chrome OS or how to resolve these errors? P.S I don't own an actual device
推荐答案
似乎是错误使用仿真器二进制文件.
Appears to be a bug with the emulator binary.
对于每个跟踪器,请下载较旧版本的模拟器,并将其替换为您的Android SDK文件夹中.我能够在MacOS上验证此功能.
Per the tracker, download the older version of the emulator and replace it within your Android SDK folder. I was able to verify this working on MacOS.
- Windows https://dl.google.com/android/repository/emulator-windows-6031357.zip
- Linux https://dl.google.com/android/repository/emulator-linux-6031357.zip
- MacOS https://dl.google.com/android/repository/emulator-darwin-6031357.zip
- Windows https://dl.google.com/android/repository/emulator-windows-6031357.zip
- Linux https://dl.google.com/android/repository/emulator-linux-6031357.zip
- MacOS https://dl.google.com/android/repository/emulator-darwin-6031357.zip
我应该说它仅对我来说是通过CLI起作用,而不是通过Android Studio emulator -avd Pixelbook_beta_API_25
I should mention it's only working via CLI for me, not through Android Studio emulator -avd Pixelbook_beta_API_25
这篇关于新创建的Chromebook操作系统模拟器在启动时崩溃的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!