Genymotion和Android Studio上的硬件设备之间是否有任何冲突? [英] Is ther any collision between Genymotion and hardware device on Android studio?
问题描述
Android Studio上的Genymotion和硬件设备之间是否有冲突?昨天,我在android studio上将我的android手机作为调试机进行了测试。效果很好。但是,今天,在安装genymotion并在其上运行我的项目之后,Android studio无法检测到我的手机...。
Is there any collision between Genymotion and hardware device on Android studio?? Yesterday, I tested my android phone as a debug machine on android studio. It worked perfectly. However, today, after installing genymotion and run my project on it, Android studio couldn't detect my phone....
我按照以下步骤操作:
- 检查是否已启用USB调试
- 检查sony xperia USB驱动器(我从网站上安装了它,然后重新安装了它)连接设备后自动自动)
- 重置Android设备监视器
- 重启我的手机
- 重启我的计算机
- 插拔USB电缆
- check whether USB debugging is enabled
- check sony xperia USB drive (I installed it from websites, and reinstalled it automatically after conneting my device)
- reset Android device monitor
- reboot my phone
- reboot my computer
- plug on/off usb cable
推荐答案
有在Genymotion和硬件设备之间没有冲突。但是Genymotion确实提供了自己的 adb
副本,它引入了潜在的 adb
客户/服务器不匹配的可能性。因此,只需从 genymotion\tools
文件夹中删除 adb
二进制文件(您可能需要杀死所有正在运行的 adb
首先处理),你应该没事。
There is no collision between Genymotion and hardware devices. But Genymotion does come with its own copy of adb
which introduces potential adb
client/server mismatch possibility. So just delete the adb
binary from the genymotion\tools
folder (you may need to kill all running adb
processes first) and you should be ok.
这篇关于Genymotion和Android Studio上的硬件设备之间是否有任何冲突?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!