webview-debug
webview-debug copied to clipboard
I can see the device, but not any applications bellow it
So there is nothing to click "inspect" on to. I have installed the plugin (using phonegap though, but it should be the same), and I can install the app to my device with adb install, and I can see the device in the devices of chrome://inspect , but there are no applications bellow it
(I can see applications just fine when I run the emulator).
Any ideas?
Do you have USB debugging turned on in the developer settings?
Of that's not the problem, I honestly don't know. I experienced something similar with a Galaxy S4 yesterday. Adb drivers installed and everything, but still nothing. On Jan 23, 2014 5:02 AM, "Konstantinos Kokkorogiannis" < [email protected]> wrote:
So there is nothing to click "inspect" on to. I have installed the plugin (using phonegap though, but it should be the same), and I can install the app to my device with adb install, and I can see the device in the devices of chrome://inspect , but there are no applications bellow it
(I can see applications just fine when I run the emulator).
Any ideas?
— Reply to this email directly or view it on GitHubhttps://github.com/jrstarke/webview-debug/issues/4 .
I have USB debugging turned on. I am waiting for a friend to bring me a different android device, to test it with that one. Next step (tommorow) will be that I will try to find how/if I can add the code manually to the webview, to see if how it behaves from there. I will update here when I know more.
Thanks
Are you able to debug webpages in the Chrome browser with it? On Jan 23, 2014 6:31 AM, "Konstantinos Kokkorogiannis" < [email protected]> wrote:
I have USB debugging turned on. I am waiting for a friend to bring me a different android device, to test it with that one. Next step (tommorow) will be that I will try to find how/if I can add the code manually to the webview, to see if how it behaves from there. I will update here when I know more.
Thanks
— Reply to this email directly or view it on GitHubhttps://github.com/jrstarke/webview-debug/issues/4#issuecomment-33128023 .
I had not checked before. I downloaded chrome on it and checked it now, and it I can debug fine from the web browser when I open web pages in chrome.
One other thing came to mind (forgive me if it is this and I wasted your time):
I have not installed cordova, I have installed phonegap. I installed your plugin with: phonegap local plugin add https://github.com/jrstarke/webview-debug.git (like I have installed all other plugins , no matter if the instructions were for phonegap or cordova).
According to the phonegap documentation it should not make any difference, since it is not a different product (yet).
I thought of one other thing. In the developer settings, there is a debug app selection. I've never used it myself, but it's worth a try? On Jan 23, 2014 6:42 AM, "Konstantinos Kokkorogiannis" < [email protected]> wrote:
I had not checked before. I downloaded chrome on it and checked it now, and it I can debug fine from the web browser when I open web pages in chrome.
One other thing came to mind (forgive me if it is this and I wasted your time):
I have not installed cordova, I have installed phonegap. I installed your plugin with: phonegap local plugin add https://github.com/jrstarke/webview-debug.git (like I have installed all other plugins , no matter if the instructions were for phonegap or cordova).
According to the phonegap documentation it should not make any difference, since it is not a different product (yet).
— Reply to this email directly or view it on GitHubhttps://github.com/jrstarke/webview-debug/issues/4#issuecomment-33129042 .
I only have 3 settings there on the phone I am testing: a) Stay in normal condition (screen does not go to screen saver) b) Debug via USB c) Allow false locations
So, came back to this. I got hold of two more devices (a noname tablet and an htc vision). In all of them the same. I could debug chrome, but no app made from phonegap. I will try to compile and install from a windows pc where I have the environment ready.
What version of Android are you running on the devices? This only works on 4.4 or higher for webview debugging.
Dont't know if this helps but, I was able to debug my phonegap application in chrome on an Nexus 5 with Android 4.4, without this plugin. On another device (Samsung Galaxy W 4.4 custom rom) I can't debug the app within chrome, only webpages...I wonder what your phonegap plugin does because it should work without in 4.4 ?
Thanks Philip,
Great catch. This plugin is really simple. All it does is sets the remote debug flag on the webview. I looked into this yesterday for someone else, and it turns out that the Cordova team added the same thing in 3.3.0, so absolutely, not needed for >= 3.3.
Hello!!!!
I have the same problem here, but this are my results:
I am working on a Sony Xperia E, with Androind 4.1, now this is the thing, I am able to debug anything from the CHROME application in my phone to the CHROME in my computer, but I can't see the application I am developing, I added your plugin from phonegap build, I am compiling with Cordova 3.4.0 and still nothing, do you have any idea of why this might be happening? any help would be highly appreciated!
Anyone figured this out?
Can I debug release builds also using the chrome://inspect method?
I can see the device when I open the chrome://inspect window but I cannot see the app
Having the same problem, too.
Hello everyone I am using a local installation of WEINRE, that's how I can debug my code, I was never able to run this application
found this issue trying to figure out why I could debug before and couldn't debug later via chrome. Problem was my build with a key (which is required for play store) didn't work, when I built with no key, could debug again
Hello everyone, I am able to debug a lot faswer with gapdebug, it's way better with this free aplication:
https://www.genuitec.com/products/gapdebug/
Hope this helps, best regards
Hi Lyricalz, can you please explain a little more this "Problem was my build with a key". Thank you!
@theguiro Basically when I attempted to debug an android app with a build key (which is required to upload to play store), I couldn't debug. But it worked when I removed the build key from the app instead
Oh ok, I get it. I found this post http://stackoverflow.com/questions/32175926/debugging-an-ionic-app-for-android-platform which I think has an answer. I will test it out. Thanks!
Solved testing with >5.1
I have issue in my ionic project , in some smarts phone i capture the images but images will not show on smartphone but will show on debugging screen ...
I had the same issue and solved it by calling WebView.setWebContentsDebuggingEnabled(true) as explained at https://developers.google.com/web/tools/chrome-devtools/remote-debugging/webviews. However, I did have to set my minSdkVersion to 19 in my module's build.gradle file in the defaultConfig under android.
my ionic project complitly run on browser but not proper run on my android mobile how to solve this problem pls help me
you can properly set you environment variable paths and also open developer option in mobile ?
On Tue, Mar 7, 2017 at 12:01 PM, dixitchauhan [email protected] wrote:
my ionic project complitly run on browser but not proper run on my android mobile how to solve this problem
— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/jrstarke/webview-debug/issues/4#issuecomment-284639119, or mute the thread https://github.com/notifications/unsubscribe-auth/AXkePWZOts2mq9GpYAXfie6IfT-6Jfpvks5rjQDUgaJpZM4Bb9q- .
-- ATTA UR REHMAN [email protected] Software Developer
I solved the problem because I was lunching the app from the device itselft and not from the computer.
Lunch the app from the computer
cordova run android
and then you'll see the app on chrome dev tools in the URL
chrome://inspect/#devices
Don't allow me to inspect Y?

I am also facing the same issue. Sometimes, I am able to debug ionic app using Devtools sometimes not. I can see the app listing on chrome://inpects/#devices page. but unable to debug. however, I tried the same thing on another mobile. it works on it. I didn't find the exact issue. I still looking for the best solution.
found this issue trying to figure out why I could debug before and couldn't debug later via chrome. Problem was my build with a key (which is required for play store) didn't work, when I built with no key, could debug again
Building with "No key selected" also fixed it for me.
how to fix this issue?