远程设备面板发生了什么变化?
What happened to the Remote Devices panel?
我 运行 Chrome 80 岁,在准备进行移动调试时,我观察到以下情况:
该面板已迁移到其自己的选项卡,并且其功能已更改。我检查了 changelog 但没有提及此更改。此更改删除的功能之一是将设备尺寸和属性导入“仿真设备”面板的方法。
是否有任何地方可以阅读此更改及其推理?即使是拉取请求我也会很高兴。
看来我找到了对我有用的东西,我不得不安装它:
apt-get install android-platform-tools-base
然后我不得不在我的移动 phone 设置(如 this )中重新启用调试,但它在不同的 Android 设备上看起来不同。而且我还得重新接好几次USB线,因为这个技术还是很不靠谱。
然后我不得不去这里:
源代码是最好的文档,所以找到这个字符串的一种方法是:
https://cs.chromium.org/search/?q=%22this+panel+has+been+deprecated+in+favor+of+the%22&sq=package:chromium&type=cs
当您查看文件 /src/third_party/devtools-frontend/src/front_end/devices/DevicesView.js
的历史记录时,有最近的提交 6239c24: "Remove "Remote Devices" panel"
:
https://chromium-review.googlesource.com/c/devtools/devtools-frontend/+/1909383
附上以下文件:
https://docs.google.com/document/d/14qasCOYYELcWtAp-y6N147Mvjv7eWmRsx1hFCB2M6w8/edit
DevTools has the "Remote Devices" tab which allows you to inspect devices like smartphones via technology like ADB. This functionality implements a subset of the features in chrome://inspect/#devices
. To remove duplication and confusion for developers ("Which of the two tools should I use?", "Why does this panel not have all features? Oh I should have used the other one", and for devrel folks writing articles: "Which tool should I reference in my guide"?), we should remove the "Remote Devices" panel.
所以也许不是您所期望的那样,但似乎仅此而已。每次重写都有其丢失的功能。
您可以 运行 adb devices
(需要 adb 驱动程序)在终端中启动守护进程。然后您会在列表中看到您的设备。
Debian 10:
我不得不
sudo apt install android-tools-adb android-tools-fastboot
然后 运行
adb devices
然后我可以在
中看到我的设备
chrome://inspect/#devices
菜单。
你认为他们可能已经链接到页面上的一些说明,或者在关于弃用的通知中...... google 上的文档本身已经过时了,我不得不在查看了 2012-2019 年的几个不正确的 SO 答案后,找到了这个答案。
我遵循了说明 here。
我 运行 Chrome 80 岁,在准备进行移动调试时,我观察到以下情况:
该面板已迁移到其自己的选项卡,并且其功能已更改。我检查了 changelog 但没有提及此更改。此更改删除的功能之一是将设备尺寸和属性导入“仿真设备”面板的方法。
是否有任何地方可以阅读此更改及其推理?即使是拉取请求我也会很高兴。
看来我找到了对我有用的东西,我不得不安装它:
apt-get install android-platform-tools-base
然后我不得不在我的移动 phone 设置(如 this )中重新启用调试,但它在不同的 Android 设备上看起来不同。而且我还得重新接好几次USB线,因为这个技术还是很不靠谱。
然后我不得不去这里:
源代码是最好的文档,所以找到这个字符串的一种方法是:
https://cs.chromium.org/search/?q=%22this+panel+has+been+deprecated+in+favor+of+the%22&sq=package:chromium&type=cs
当您查看文件 /src/third_party/devtools-frontend/src/front_end/devices/DevicesView.js
的历史记录时,有最近的提交 6239c24: "Remove "Remote Devices" panel"
:
https://chromium-review.googlesource.com/c/devtools/devtools-frontend/+/1909383
附上以下文件:
https://docs.google.com/document/d/14qasCOYYELcWtAp-y6N147Mvjv7eWmRsx1hFCB2M6w8/edit
DevTools has the "Remote Devices" tab which allows you to inspect devices like smartphones via technology like ADB. This functionality implements a subset of the features in
chrome://inspect/#devices
. To remove duplication and confusion for developers ("Which of the two tools should I use?", "Why does this panel not have all features? Oh I should have used the other one", and for devrel folks writing articles: "Which tool should I reference in my guide"?), we should remove the "Remote Devices" panel.
所以也许不是您所期望的那样,但似乎仅此而已。每次重写都有其丢失的功能。
您可以 运行 adb devices
(需要 adb 驱动程序)在终端中启动守护进程。然后您会在列表中看到您的设备。
Debian 10:
我不得不
sudo apt install android-tools-adb android-tools-fastboot
然后 运行
adb devices
然后我可以在
中看到我的设备chrome://inspect/#devices
菜单。
你认为他们可能已经链接到页面上的一些说明,或者在关于弃用的通知中...... google 上的文档本身已经过时了,我不得不在查看了 2012-2019 年的几个不正确的 SO 答案后,找到了这个答案。
我遵循了说明 here。