简体   繁体   English

无法使用Google USB驱动程序

[英]Cannot Use Google USB Driver

I have an LG G4 and would like to use it for debugging apps during development. 我有一个LG G4,并希望在开发过程中使用它来调试应用程序。 However, I cannot get the device to show up. 但是,我无法让设备显示出来。

I have followed the steps to set the phone into debugging mode. 我已按照步骤将手机设置为调试模式。

I have Android Studio and used SDK manager to download the latest SDKs and tools and also installed the Google USB driver. 我有Android Studio并使用SDK管理器下载最新的SDK和工具,还安装了Google USB驱动程序。

I cannot see my phone in chrome://inspect nor does it list with "adb devices" nor does it show up in Android Studio. 我无法在chrome://inspect看到我的手机chrome://inspect也不会列出“adb devices”,也不会在Android Studio中显示。

Sorry that this answer isn't more clear for anyone who stumbles across it, but I wasn't able to pinpoint what fixed it. 对不起,对于那些偶然发现它的人来说,这个答案并不是很明确,但我无法确定修复它的原因。

  1. I was never able to use the Google USB Driver (so technically, the question isn't really answered) 我从来没有能够使用谷歌USB驱动程序(所以从技术上讲,问题没有真正回答)
  2. I was able to install the drivers from LG, but was not able to assign the driver to my device in Device Manager 我能够从LG安装驱动程序,但无法在设备管理器中将驱动程序分配给我的设备
  3. However, my LG G4 is now working in both Android Studio and chrome://inspect. 但是,我的LG G4现在可用于Android Studio和chrome:// inspect。

The unclear part is that what I did was continuously update Android Studio and throw in a few system restarts. 不清楚的部分是我所做的是不断更新Android Studio并重新启动一些系统。 Some items had updates appear after installation which I processed. 某些项目在我处理安装后出现更新。 I also added a few more full SDKs (started with only the latest, 24* at the time of this writing and went back to 21*) At some point during this process, my phone began to work. 我还添加了一些更完整的SDK(在撰写本文时仅使用最新版本的24 *开始并返回到21 *)在此过程中的某个时刻,我的手机开始工作。

I suspect there was a tool or SDK that did the trick and possibly didn't actually fix the issue until I restarted the computer. 我怀疑有一个工具或SDK可以完成这个技巧,并且在我重新启动计算机之前可能没有真正解决问题。

You need install LG Drivers for your G4. 您需要为G4安装LG驱动程序。 Go to http://www.lg.com/us/support and find yours. 访问http://www.lg.com/us/support并找到您的。
EDIT: Sometimes it doesn't work in Windows 8 and 10, so you need LG PC Suite. 编辑:有时它在Windows 8和10中不起作用,所以你需要LG PC套件。

If you already used any other android devices for debugging, then the ADB driver is ready to be used for your LG G4. 如果您已经使用任何其他Android设备进行调试,那么ADB驱动程序已准备好用于您的LG G4。 Try following steps. 请尝试以下步骤。

  • Connect phone using USB cable 使用USB线连接手机
  • Open device manager >> right click on unidentified LG G4 >> Update Driver Software >> Browse my computer for driver software >> Let me pick from a list of device drivers on my computer >> Install an ADB driver from the list (install anyway) 打开设备管理器>>右键单击未识别的LG G4 >>更新驱动程序软件>>浏览我的计算机以获取驱动程序软件>>让我从计算机上的设备驱动程序列表中选择>>从列表中安装ADB驱动程序(无论如何安装) )

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM