新创建的 Chromebook 操作系统模拟器在启动时崩溃 [英] newly created Chromebook OS emulator crashes on start up

查看:24
本文介绍了新创建的 Chromebook 操作系统模拟器在启动时崩溃的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我最近在

我也尝试将 Android Studio 更新到最新版本 3.6.1,但模拟器仍然崩溃.有没有其他方法可以在 Chrome OS 上测试 android 应用程序或如何解决这些错误?P.S 我没有真正的设备

解决方案

似乎是一个错误 使用模拟器二进制文件.

根据跟踪器,下载旧版本的模拟器并将其替换到您的 Android SDK 文件夹中.我能够在 MacOS 上验证这一点.

我应该提到它只能通过 CLI 为我工作,而不是通过 Android Studio emulator -avd Pixelbook_beta_API_25

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)

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.

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.

Edit: I should mention it's only working via CLI for me, not through Android Studio emulator -avd Pixelbook_beta_API_25

这篇关于新创建的 Chromebook 操作系统模拟器在启动时崩溃的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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