error: insufficient permissions for device 问题解决
在ubuntu上进行android开发是,将设备连接到电脑上,执行adb shell命令,会报出如下错误:
error: insufficient permissions for device
解决的办法:
root@android-ubuntu:platform-tools# adb kill-server
root@android-ubuntu:platform-tools# adb start-server
* daemon not running. starting it now on port 5037 *
* daemon started successfully *
root@android-ubuntu:platform-tools# exit
然后在命令行下执行adb shell就可以了。
相关推荐
安辉 2020-03-28
chenjinlong 2020-03-06
huha 2020-10-16
magic00 2020-08-03
yangChong 2020-07-29
adb shell cd system/app rm *.apk21. 获取管理员权限: adb root22. 启动Activity: adb shell am start -n 包名/包名+类名。
蓝天梦 2020-07-28
applecarelte 2020-07-05
xiaobater 2020-07-04
QCkiss 2020-06-21
freerocker 2020-05-25
doomvsjing 2020-04-16
qingshuoyisheng 2020-04-07
2、在设置好端口后就可输入命令连接:adb connect 192.168.2.36:5555,后面的:5555可以不用输入,例如我设置的:6666端口,则通过如下指令连接:。映像名称 PID 会话名
fengyeezju 2020-03-02
applecarelte 2020-02-23
Soinice 2020-02-18
woxxoole 2020-02-02
goodby 2020-01-09
蓝天梦 2020-01-02
SciRui 2019-12-29
xiaobater 2019-12-27
KarlMarxs 2019-12-19
Yyqingmofeige 2019-12-23
goodby 2019-12-16
zhaoyufei 2019-11-30
qingshuoyisheng 2019-11-15
RayDon 2010-11-03