在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就可以了。
本文介绍了在Ubuntu系统中进行Android开发时遇到的ADB权限不足错误,并提供了解决方案。通过重启ADB服务,可以有效解决该问题。

被折叠的 条评论
为什么被折叠?



