Reputation: 29
I am using an android device to debug my app through the google chrome browser.
It shows as my device is detected, but shows a message as 'No browser detected'.
I used ADB devices command as well. But still cannot see browser inspect option.
Upvotes: 3
Views: 3137
Reputation: 10254
At first make sure that
Discover USB devices checkbox is enabled in the Settings right below the listed devices option.
Try changing the connected mode from Charging/ Transfer Files/ MIDI etc. Because it varies on different manufacturers.
Then only it might show the prompt(RSA key fingerprint) to allow connection with the connected computer.
If that also didn't work,
instead of opening the tab with chrome://inspect
or chrome://devices
Follow these steps
Check that page, it may help you.
Upvotes: 0
Reputation: 18112
To debug the webview you need to enable debugging as below
if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.KITKAT) {
WebView.setWebContentsDebuggingEnabled(true);
}
More information is available at https://developers.google.com/web/tools/chrome-devtools/remote-debugging/webviews
Upvotes: 1