adb shell时出现error: insufficient permissions for device

如果执行adb shell时出现如下错误:
error: insufficient permissions for device

则执行以下步骤来更改权限:
archermind@rdcdz10410:~$ sudo -s
[sudo] password for archermind: (此处输入root用户的密码)
root@rdcdz10410:~# adb kill-server; adb start-server
* daemon not running. starting it now on port 5037 *
* daemon started successfully *
root@rdcdz10410:~# exit
exit
archermind@rdcdz10410:~$ adb shell
$ ls
mr.log
config
cache
sdcard
acct
mnt
vendor
d
etc
ueventd.rc
ueventd.mogami.rc
ueventd.goldfish.rc
system
sys
sbin
proc
logo.rle
init.usbmode.sh
init.semc.rc
init.rc
init.hostapd.sh
init.goldfish.rc
init
fstab
default.prop
data
root
dev
$

你可能感兴趣的:(Permission)