在Chrome开发人员工具中从Windows 7 Enterprise到Samsung Galaxy Tab A进行远程调试时,未检测到设备 [英] No devices detected when remote debugging in Chrome Developer Tools from Windows 7 Enterprise to Samsung Galaxy Tab A

查看:188
本文介绍了在Chrome开发人员工具中从Windows 7 Enterprise到Samsung Galaxy Tab A进行远程调试时,未检测到设备的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我在 Samsung Galaxy Tab A中的Chrome上使用Web应用程序时遇到问题.

我想用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 > 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.

我尝试过的事情

我与三星聊天,他们说要安装智能开关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文件.

3)在Windows终端中,请执行以下操作:

3) In Windows terminal run your equivalent of:

D:\Users\You\path_to_extracted_folder\adb.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!

这篇关于在Chrome开发人员工具中从Windows 7 Enterprise到Samsung Galaxy Tab A进行远程调试时,未检测到设备的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆