Issue
Google announced android apps support in Chrome OS on Chromebooks. Is it possible to test my android app on Chromebook without having Chromebook hardware? Any emulator or VirtualBox image, etc?
Solution
To run our app on a virtual Chrome OS device we have followed the following steps in Android Studio:
Install Chrome OS SDK add-ons for Android Studio
- In Android Studio, select Tools open SDK Manager.
- Click the SDK Update Sites tab. (3rd tab)
- Click Add at the bottom of the window. The
+
icon Enter the following name and URL, then click OK:
Name: Chrome OS Repository
URL: https://storage.googleapis.com/chrome_os_emulator/addon2-1.xml- Click Add again.(+)
Enter the following name and URL, then click OK:
Name: Chrome OS System Images
URL: https://storage.googleapis.com/chrome_os_emulator/sys-img2-1.xmlClick Apply.
- Click the SDK Tools tab and select the checkbox for Chrome OS device.
- Click OK to install the Chrome OS device.
- Click Apply.
Create an AVD using the AVD Manager
From tablet category select Pixelbook (beta) hardware. The default RAM size for an AVD is 1536 MB. I recommend increasing the RAM for the AVD to 2048 MB.
Answered By - Radhika bajaj
0 comments:
Post a Comment
Note: Only a member of this blog may post a comment.