简体   繁体   中英

Google Chrome can't detect my android device but both adb devices and android studio can detect my device

Google Chrome can't detect my device using chrome://inspect/#devices .
But both adb devices and Android Studio can detect it.

Google Chrome Screenshot

adb devices output:
List of devices attached 58H3Y18807006304 device

I tried reinstalling chrome, tried removing all apps and extensions but nothing worked.

But when I loaded Ubuntu on Virtual Box and connected my phone in the VM, then chrome inside Ubuntu VM detected my phone.

Please help me.

See Remote Debugging WebViews ...

unless setting WebView.setWebContentsDebuggingEnabled(true); the debug bridge won't connect.

Another possible cause are local ports having non-default values, which may require port-forwarding .

This would at least list the local ports in use:

sudo lsof -i -P -n | grep 127.0.0.1

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM