我正在开发一个Android应用程序,我正在使用Macbook Pro,Android Studio 2.1.2 Build#AI-143.2915827,JRE 1.8.0_91和带有Android 6的Samsung S6设备来测试我的应用程序。问题在于,android studio在某段时间后断开了我的设备,甚至没有在列表中显示我。我尝试了几乎所有可能的解决方案,我在互联网上找到了。是否有任何修复Android Studio保持断开Macbook Pro测试设备?
1) Kill adb server and start it again,
2) Unplug and plug back in device,
3) Unplug device, turn off developer mode, turn on developer mode in device, clear usb debugging authorizations, plug back in device,
4) Change SDK default location in macbook,
5) Restart test device and plug in,
6) Download updated SDK and replace old platform-tools folder
7) Tried changing cables
8) Cleaned and reformatted Macbook with new OS
(我发现第六解决方案here)
,几乎每一个建议/答案我在网上找到。但它仍然不起作用。那么有没有人知道我该如何解决这个问题?我无法在此设备上测试我的应用程序。我没有任何其他设备,我没有任何其他选项来测试我的应用程序。任何人都可以告诉我,如果有解决此问题的android studio频繁断开测试设备?
谢谢。
物理试验设备经常堵塞和拔出。电线或连接器可能损坏 –
@ cricket_007,电缆很好。我也尝试了其他一些电缆。 –
手机中的USB插座是否松动或损坏? –