即使按照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开发,这可能是问题所在。我希望利用这个功能从设备的角度来检查网页。


当前回答

我要做的是禁用“发现网络目标”在chrome://inspect/#设备。

这是唯一解决了它在我的设置(chrome版本78.0.3904.97 deepinOS/debian)。

其他回答

如果你没有安装ADT (Android开发工具包):

下载android SDK platform-tools.zip,执行命令"adb devices",成功检测到基于android的三星Galaxy手机。 它开始一些恶魔,发现附加设备,我也能看到它在铬金丝雀检查标签。

以前我也安装了“通用ADB驱动程序”,但不确定这是否是必需的

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

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

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

我要做的是禁用“发现网络目标”在chrome://inspect/#设备。

这是唯一解决了它在我的设置(chrome版本78.0.3904.97 deepinOS/debian)。

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

如果它仍然不工作,我已经通过手动重新启动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.