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
If the emulator fails to launch due to the error vulkan-1. dll cannot be found , you probably need to update the emulator. To update the emulator in Android Studio, go to Tools > SDK Manager and install the latest stable version of Android platform.
First: Try these common Chrome crash fixesYour Android phone or tablet may have run out of memory, and can't load the site while also running your apps and programs. To free up memory: Close every tab except for the one that's showing the error message. Quit other apps or programs that are running.
You can fix many common issues with apps: Turn your Chromebook off and on again. Check your Internet connection. Clear the app data and cache.
The reason why the designs look different is that the emulator's screen configuration is different to that which is used to render the design preview.
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
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With