首页 > 编程知识 正文

adb 安装,adb shell有什么用

时间:2023-05-03 10:41:15 阅读:232670 作者:1835



http://blog.csdn.net/lxxlxx888/article/details/54380864

亲测可以解决问题

---------------------------------------------------------

最近在android studio中使用genymotion的模拟器和真机调试时,往往找不到模拟器和手机。adb命令的时候发现提示如下:

$ adb devices
adb server version (32) doesn't match this client (36); killing...
error: could not install *smartsocket* listener: Address already in use
ADB server didn't ACK
* failed to start daemon *
error: cannot connect to daemon
原来是genymotion中的adb命令被占用冲突了(往往是被360手机助手占用了adb的端口所致),直接打开genymotion的Setting,切换到第四个标签页(ADB),选择Use custom Android Sdk tools,然后选择我们开发使用的Sdk路径即可。

版权声明:该文观点仅代表作者本人。处理文章:请发送邮件至 三1五14八八95#扣扣.com 举报,一经查实,本站将立刻删除。