Created
July 1, 2022 21:43
-
-
Save 0q2/43f190b76f4719064f87c3b9a807c654 to your computer and use it in GitHub Desktop.
Bypass to get Play Services and ADB/Root working on an official Android Studio image. Found this trick on an obscure SO comment a long time ago and somehow it still works.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Easiest way: You should create a new emulator, and before opening it for the first time, follow these easy steps: | |
Locate the directory where the emulator has been created. For example, in Windows go to: C:\Users[user].android\avd[your virtual device folder] | |
Open file config.ini with a text editor like Notepad. | |
Locate PlayStore.enabled key and change its value to true: | |
PlayStore.enabled = true | |
Locate image.sysdir.1 entry and change: google_apis => google_apis_playstore. Example: | |
image.sysdir.1 = system-images\android-30\google_apis\x86\ | |
to | |
image.sysdir.1 = system-images\android-30\google_apis_playstore\x86\ |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment