我刚刚更新了模拟器26.0.3,现在我无法adb root为新创建的模拟器运行命令.
adb root
显示的错误如下:
adbd cannot run as root in production builds
我杀了并重新开始adbd像:
adbd
adb kill-server adb devices
没有任何帮助,任何想法?
我不确定有什么区别以及如何选择不同的构建,但是,如果在创建时启用了以下设置,则它具有root权限.
android root adb android-emulator
adb ×1
android ×1
android-emulator ×1
root ×1