首页 > 代码库 > adb root错误信息adbd cannot run as root in production builds问题解决

adb root错误信息adbd cannot run as root in production builds问题解决

adb root错误信息adbd cannot run as root in production builds问题解决

一.问题描述

1.输入指令

>adb root

adbd cannot run as root in production builds

 

错误信息

adbd cannot run as root in production builds

 

2.输入指令:

cd data

$ ls –l

ls –l

opendir failed, Permission denied

 

$ exit

错误信息:

opendir failed, Permission denied

二.解决办法:

 

1.首先在手机端安装Superuser Permissions软件;

 

2.然后执行执行如下命令

 

adb shell

su

手机上点允许

变#号就成功

adb root错误信息adbd cannot run as root in production builds问题解决