从 Windows 7 Enterprise 到 Samsung Galaxy Tab A 在 Chrome 开发人员工具中进行远程调试时未检测到设备 [英] No devices detected when remote debugging in Chrome Developer Tools from Windows 7 Enterprise to Samsung Galaxy Tab A
问题描述
我在 Samsung Galaxy Tab A 的 Chrome 上遇到问题.
我想使用 Chrome 的 Developer Tools
对它们进行故障排除.
I want to troubleshoot them with Chrome's Developer Tools
.
在平板电脑上,您无法访问 Chrome 的 Developer Tools
,因此您需要设置 Remote Debugging
.
On tablets you do not have access to Chrome's Developer Tools
, so you need to set up Remote Debugging
.
过程,根据 Google 的官方文档,应该本质上是:
The process, according to Google's official documentation, should essentially be:
1) 在 PC 上安装所需的驱动程序,以便可以识别平板电脑.
1) Install the required driver on the PC so the tablet can be recognised.
2) 通过 USB 数据线将平板电脑连接到 PC.
2) Connect the tablet to the PC via USB cable.
2) 在 PC 上,转到 Chrome >开发者工具 >菜单>更多工具 >远程设备
2) On PC, go to Chrome > Developer Tools > Menu > More Tools > Remote devices
平板电脑未在 PC 上的 chrome 开发者工具中显示为设备.
The tablet is not showing up as a device in developer tools in chrome on PC.
我的尝试
我和三星聊天,他们说要安装 Smart Switch PC_Setup.exe 将安装驱动程序,以便可以识别 Android 设备.
I chatted to Samsung and they said to install Smart Switch PC_Setup.exe which would install driver so that Android device can be recognised.
由于这不起作用,我遵循了各种帖子建议并安装了:
As that didn't work I followed various post suggestions and installed:
SAMSUNG_USB_Driver_for_Mobile_Phones.zip (15.3MB)
来自 这里
SDK Platform-Tools for Windows (7.16MB)
来自 这里
sdk-tools-windows-3859397 (132MB)
来自页面底部 这里
所有这些都包含我不知道如何使用的 exe
文件 - 如果我双击它们,它们只会打开和关闭一个终端.
All of these contain exe
files that I don't know how to use - if I double click them they just open and close a terminal.
期望的行为
让平板电脑在 Chrome 开发者工具中显示为设备.
To have tablet show as a device in Chrome developer tools.
推荐答案
这是我在 Chrome 开发者工具中显示设备的解决方案:
This was my solution to show device in Chrome Developer Tools:
1) 从 这里.
2) 提取 zip 文件.
2) Extract zip file.
3) 在 Windows 终端中运行相当于:
3) In Windows terminal run your equivalent of:
D:UsersYoupath_to_extracted_folderadb.exe devices
一开始我得到了:
[5203253125 - long number] unauthorised
然后我想我从平板电脑上拔下并重新插入 USB 电缆,平板电脑上有提示:
And then I think I unplugged and replugged USB cable from tablet and there was a prompt on the tablet:
Allow USB Debugging?
The computer's RSA key fingerprint is:
blah blah etc
我点击OK
我现在可以在 Chrome 开发者工具中看到设备了!
And I can now see device in Chrome Developer Tools!
这篇关于从 Windows 7 Enterprise 到 Samsung Galaxy Tab A 在 Chrome 开发人员工具中进行远程调试时未检测到设备的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!