- 问题:使用Android studio自带的AVD Manager开启模拟器后,运行 adb root,会出现如下提示:
adbd cannot run as root in production builds - 解决方法:其实很简单。如果要以root权限,进入emulator的话。
- 不要使用如下类型的Image创建emulator,否则会导致上述问题的发生。
Google Play Intel x86 Atom System Image
- 请使用下述类型的Image创建emulator
Google APIs Intel x86 Atom System Image
- 以上仅以使用Android Studio创建Emulator为前提。
本文介绍如何解决在使用Android Studio自带的AVD Manager开启模拟器后运行adb root出现的提示问题。通过选择正确的系统镜像(Google APIs Intel x86 Atom System Image),可以实现在模拟器中以root权限运行。
8534

被折叠的 条评论
为什么被折叠?



