即使按照https://developer.chrome.com/docs/devtools/remote-debugging/上列出的步骤操作,我还是无法在我的三星Galaxy S4上使用DevTools Devices功能

我的设备有Chrome v32和Chrome Beta v33,而我的个人电脑有Chrome v33和Chrome Canary v35。

我的设备上已开启USB调试,并且已安装设备驱动程序。我从未从上面的链接中得到步骤3中概述的提示,以批准RSA密钥指纹,但设备确实连接到我的PC以允许媒体传输。我甚至根据上面的链接撤销了所有USB调试授权。

我的电脑上没有任何额外安装的东西用于Android开发,这可能是问题所在。我希望利用这个功能从设备的角度来检查网页。


当前回答

我是应用程序编程的新手,这是我在尝试使用LG G3设备进行示例程序调试时遇到的第一个问题。上面有详细说明的职位应该适用于所有人。我补充了我的经验,以防它能帮助到其他人:

I had followed instructions step by step but one. That is, installing the USB driver from my OEM. My phone kept notifying that the debugging is on (in the notification area) and I could transfer data as well as charge. That made me think that appropriate USB drivers are installed. But it wasn't. Finally I went to LG site and downloaded the USB driver for my LG G3. Right after I installed the driver and reconnected the phone to the computer via the cable, I got the RSA key prompt. My Chrome now detects it and I was able to get my app run on my phone via Android studio as well.

其他回答

多年来,我一直在不同的电脑和设备上使用这个工具。我经常发现chrome / ADT看不到我的设备。

在这种情况下,唯一对我有效的是重置ADB deamon:

adb kill-server

或/及

adb usb

重新插入设备后,将在设备上显示一条消息,要求您允许从连接的计算机进行USB调试。允许这个请求是非常重要的。

这里是三星Note 8用户-我所要做的就是

打开话机的USB调试开关。 安装并运行“ADB and Fastboot”工具 在adb提示符中输入命令adb devices。 进入chrome://inspect/#devices,设备就会显示出来。

在那之后,我在我的手机上收到了一条消息,chrome浏览器认出了我的手机。

如果你在windows上,你需要为你的手机安装驱动程序。你可以在这里买到。

如果它仍然不工作,我已经通过手动重新启动Android调试桥来幸运地连接。更多信息在这里。

在我打开和关闭手机上的调试功能后,切换“发现USB设备”似乎启动了一些东西。

另外,另一份电报也可能是问题所在。我的案例可能已经干扰了数据连接,但不确定。

ADB必须运行。去看看

C:\Users\yourUserName\AppData\Local\Android\Sdk\platform-tools并运行adb设备,守护进程应该启动,然后显示所有连接的设备。