error: insufficient permissions for device

在ubuntu下,通过adb命令向手机安装软件的时候,出现error: insufficient permissions for device
。此时需要赋予超级用户权限。代码如下:
stone@stone-System-Product-Name:~/android/androidSDK/tools$ sudo -s
[sudo] password for stone: 
root@stone-System-Product-Name:~/android/androidSDK/tools# ./adb kill-server
root@stone-System-Product-Name:~/android/androidSDK/tools# ./adb devices
* daemon not running. starting it now on port 5037 *
* daemon started successfully *
List of devices attached 
HT957KF01136    device
而后可以执行

你可能感兴趣的:(error: insufficient permissions for device)