Genymotion和Android Studio上的硬件设备之间是否有任何冲突? [英] Is ther any collision between Genymotion and hardware device on Android studio?

查看:146
本文介绍了Genymotion和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....

我按照以下步骤操作:


  1. 检查是否已启用USB调试

  2. 检查sony xperia USB驱动器(我从网站上安装了它,然后重新安装了它)连接设备后自动自动)

  3. 重置Android设备监视器

  4. 重启我的手机

  5. 重启我的计算机

  6. 插拔USB电缆

  1. check whether USB debugging is enabled
  2. check sony xperia USB drive (I installed it from websites, and reinstalled it automatically after conneting my device)
  3. reset Android device monitor
  4. reboot my phone
  5. reboot my computer
  6. 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屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆