[英]chrome inspect blinking with remote debugging
I'm trying to use Chrome's support for remote debugging with my Android device. 我正在尝试使用Chrome支持我的Android设备进行远程调试。 I've been successful doing this many times, even though it is a bit tricky to setup up.
尽管设置起来有点棘手,但我已经成功地做了很多次。
(I need 'port forwarding' and 'virtual host mapping' so my device can access domain names on my local server.) (我需要'端口转发'和'虚拟主机映射',以便我的设备可以访问我本地服务器上的域名。)
When Chrome hides all the tabs on my device, the following message appears: 当Chrome隐藏设备上的所有标签时,会显示以下消息:
Pending authentication: please accept debugging session on the device.
待认证:请接受设备上的调试会话。
Even stranger, if I am quick to click on my host, I actually seem to be able to able to use the dev tools for the device like in previous successful situations. 更奇怪的是,如果我快速点击我的主机,我实际上似乎能够像以前的成功情况一样使用设备的开发工具。
Thanks to @SOreadytohelp for the helpful comment. 感谢@SOreadytohelp提供了有用的评论。
I borrowed this from the chromium bug report : 我从铬虫报告中借用了这个:
Downgrading Android SDK Platform-tools from revision 23 to revision 21 will solve the issue
将Android SDK平台工具从版本23降级到版本21将解决该问题
Same behavior here: neither Galaxy S4 nor Galaxy S6 Edge with Lollipop were available on the chrome://inspect tab. 这里的行为相同:在chrome:// inspect选项卡上都没有Galaxy S4和Galaxy S6 Edge with Lollipop。 I develop an Ionic/Cordova app and downgrade isn't an option.
我开发了Ionic / Cordova应用程序并且降级不是一种选择。 But if you download latest version of Chrome Canary the device is available to inspect and I can debug again.
但是如果您下载最新版本的Chrome Canary,该设备可供检查,我可以再次调试。
You just have to upload your chrome for android, and it will work. 你只需要为Android上传你的chrome,它就可以了。
I also came across this problem, but as I updated my chrome for android, the problem got sorted out and now it is working fine. 我也遇到过这个问题,但是当我更新我的chrome for android时,问题得到解决,现在它运行正常。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.