(说明——这为我所用三星S6)。 d 赞赏对所使用电话版本的任何评论,对于任何这类教学工作的人来说——
If your phone is connecting to your computer and being recognised on the computer, and you ve enabled USB debugging on your phone, but the phone doesn t appear under Remote devices in the Chrome developer tools, then you can first try restarting the automatic discovery process by selecting the following on your phone - Settings > Developer Options > Revoke USB Debugging Authorizations .
If this doesn t work, then the problem is likely that the Android Debug Bridge Daemon is either missing or not running on your computer (info about ADB -
https://developer.android.com/studio/command-line/adb.html)
您不需要全安康克使用亚行,你可以在此下载单列的安康克平台工具:
https://developer.android.com/studio/releases/platform-tools.html
第一,为你的平台安装工具。 使用Windows的Im以及我的步骤是:
-Unzip the download into c:platform-tools (I just put it here for
convenience, you can choose a different location).
-Open command prompt (run as administrator) in folder, and run the
following command:
adb devices
(前身为我们的十字架)。 这将从 da开始,并向你出示随附的安乐器清单。
如果你看到一个装置旁有未经许可,这意味着你必须打开电话,选择允许获取装置数据,然后总是允许从该计算机进入。 之后,请见您的电话连接开发商:
你们需要每当电脑重新启用时,才能开斋。 在您的开端文件夹中,每当其计算机开端时,都要使用 da(如果你完全遵循我的指示,你必须制作的批号内容为c:platform-toolsadb facilities
)。
If you now have difficult accessing a URL (e.g. localhost ) that
you re sending to Chrome on your Android device (via the Chrome dev
tools on your computer), that s a different issue. See this question
for advice
How can I access my localhost from my Android device?
(in brief, you need to make sure your computer and phone are connected
on the same network, so connect both onto the same wi-fi network or
tether your computer to your phone s hotspot, then run ipconfig to get
your wireless IPv4 IP address, and use that IP in the URL you want to
view on your phone)
<>说明: 对于与工作初步脱节的连接,你需要使用MTP模式(Media Transfer Protocol)进行“U”转让(MTP是违约)。 其中一个答复中提到的固定点涉及将这一模式转向其他方式,但这可能只是引起某种重新认识,如果你中断电话联系,你可能会自动转回转往MTP模式。