New issue
Advanced search Search tips
Note: Color blocks (like or ) mean that a user may not be available. Tooltip shows the reason.

Issue 658884 link

Starred by 3 users

Issue metadata

Status: WontFix
Owner: ----
Closed: Oct 2016
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: Chrome
Pri: 2
Type: Bug



Sign in to add a comment

How to Debug Webview in Android App on Chrome OS

Reported by lawrence...@gmail.com, Oct 24 2016

Issue description

UserAgent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_11_6) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/54.0.2840.59 Safari/537.36
Platform: 55.0.2883.17

Steps to reproduce the problem:
Have an android app that uses webview.
Run it on Chrome OS.
Try to debug it.

What is the expected behavior?
I'm looking for a way to use chrome dev tools or something similar to inspect the actual internals of the webview. (There's a keyboard hiding event that's not triggering or being suppressed or not firing in some way.)

What went wrong?
I've tried to use the chrome://inspect page to detect the android app, enable remote debugging and similar things. Not sure where to go from here to actually get a console for the webview itself.

Did this work before? N/A 

Chrome version: 54.0.2840.59  Channel: n/a
OS Version: OS X 10.11.6
Flash Version: Shockwave Flash 23.0 r0
 
Cc: sduraisamy@chromium.org
Status: WontFix (was: Unconfirmed)
Here is the documentation explaining how to debug webview: https://developers.google.com/web/tools/chrome-devtools/remote-debugging/webviews
I've tried the steps in that documentation and it did not work, the applications never came up in the chrome://inspect page

Comment 4 by raniel...@gmail.com, Oct 25 2016

This question is for ARC apps that have a webview, not a chrome app.
TO debug ARC apps in ChromeOS, you need to be in DEV mode and setup ADB. Please follow instructions here - https://developer.android.com/topic/arc/index.html#setup

Comment 6 by raniel...@gmail.com, Oct 25 2016

Thanks, but how do you get access to the webview?

Comment 7 by raniel...@gmail.com, Oct 25 2016

For example. Here's how you debug with Android: https://developers.google.com/web/tools/chrome-devtools/remote-debugging/
I figured it out...

You first need to follow the instructions at https://developer.android.com/topic/arc/index.html#setup then after 'adb connect' command, from chrome you go to chrome://inspect/#devices and you should see the webview for the ARC app.
I see the device (Asus Chromebook Flip C100P) but nothing about the webview/ARC app.

Sign in to add a comment