赞
踩
最近在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路径即可。
如下:
Copyright © 2003-2013 www.wpsshop.cn 版权所有,并保留所有权利。