1:download here
http://www.techpetals.com/download-android-sdk-2.2-for-windows-linux-mac-osx-1592
2: set it
在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
而后可以执行
时间: 2024-11-05 12:10:48