我的Android进阶之旅------>adbd cannot run as root in production builds 的解决方法

时间:2022-04-10 16:07:24

今天用adb root命令时候,报了错误:adbd cannot run as root in production builds

C:\Documents and Settings\Administrator>adb root
adbd cannot run as root in production builds


解决方法如下:

1、下载超级adbd.apk

2、安装超级adbd.apk

C:\Documents and Settings\Administrator>adb install "C:\Documents and Settings\Administrator\桌面\chaoji_16172.apk"
2172 KB/s (521490 bytes in 0.234s)
pkg: /data/local/tmp/chaoji_16172.apk
Success

3、在手机启动adbd.apk,并勾选【启动超级adbd】项

我的Android进阶之旅------>adbd cannot run as root in production builds 的解决方法

4、关闭cmd窗口,拔掉usb数据线

5、重新开启一个cmd窗口,再输入adb root命令试一试

C:\Documents and Settings\Administrator>adb root
adbd is already running as root

恭喜你,这个bug终于处理完。


        ====================================================================================

  作者:欧阳鹏  欢迎转载,与人分享是进步的源泉!

  转载请保留原文地址http://blog.csdn.net/ouyang_peng

====================================================================================

我的Android进阶之旅------>adbd cannot run as root in production builds 的解决方法