Genymotion 和 Android studio 上的硬件设备有冲突吗? [英] Is ther any collision between Genymotion and hardware device on Android studio?

查看:30
本文介绍了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 数据线

推荐答案

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天全站免登陆