即使按照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“远程设备”停止工作几个月后,我没有使用它。

我解决了这个问题: 在我的设备(三星J3)的“开发选项”中,我取消了usb调试授权 然后在我的电脑中,我在“C:\Program Files (x86)\Android\ Android -sdk\platform-tools”文件夹中执行“adb devices” 我的设备上会出现一个提示,问我是否允许我的电脑调试应用程序。 我点击是,然后chrome已经检测到我的设备

其他回答

我是应用程序编程的新手,这是我在尝试使用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.

ADB必须运行。去看看

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

如果您使用“MTP模式”进行USB电脑连接。 更改为“PTP模式”或“读卡器模式”。

我也有同样的问题,它对我来说很好。

用的是三星Galaxy S9,运行Android Pie。——2019年5月 类似于上面的答案,以及NickW的答案: 设备连接好后,不要进入设置,而是进入手机的通知栏> Android系统,然后“点击其他USB选项”。在选项下选择MIDI,您就可以开始了!

只是在这里添加这个供参考,我试图连接LG G5安卓手机,Chrome开发工具没有识别它,直到我下载了LG usb驱动程序在这里。

祝大家好运!