[AndroidStudio] AVD - adbd cannot run as root in production builds
I had a trouble getting a root access to Android Studio Emulator (AVD), because I couldn't run adb root as following.
My device was Pixel 2 with the system image of Android 9.0 (Google Play). However, ADB root is not working on emulator with Google Play image.
So I created a new device, and for the system image, I selected one with GoogleAPIs, not Google Play.
When I tried again with the new device, I was able to successfully run adb root.
$ adb root adbd cannot run as root in production builds
My device was Pixel 2 with the system image of Android 9.0 (Google Play). However, ADB root is not working on emulator with Google Play image.
So I created a new device, and for the system image, I selected one with GoogleAPIs, not Google Play.
When I tried again with the new device, I was able to successfully run adb root.
$ adb root restarting adbd as root
Comments
Post a Comment