Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Chrome remote debugging shows device but not inspect link

I want to remote debug an Android app on Chrome. My device is Qmobile A11 Note with Android v4.0.4, Google Chrome v42 and Cordova v3.7.

I have enabled USB debuging on my device.

I was following this article. My problem is when I open this link in chrome chrome://inspect/#devices it show my device but with no inspect link. Here is the screenshot

enter image description here

How can I inspect or remote debug, what's missing? I have worked with this before and Chrome was showing the Inspect link at that time.

like image 310
skhurams Avatar asked Apr 29 '15 11:04

skhurams


2 Answers

If you app is signed-released version then you can't be able to see under chrome://inspect. Because released version are disable the debugging mode.

Use only debug version apk for chrome://inspect.

like image 69
james Avatar answered Sep 22 '22 21:09

james


For application debugging you need android 4.4+ OS device. OS version of your Qmobile A11 is 4.0. For more info please refer : https://developer.chrome.com/devtools/docs/remote-debugging

For browser debugging(if you host your app as webapp) Android 4.0+ is enough.

If you are using cordova 4.0+ then you can add crosswalk(https://github.com/crosswalk-project/cordova-plugin-crosswalk-webview) as a plugin by which you can bundle chromium instance in the apk so with Andorid 4.0+ device also you can use device inspector.

like image 20
kumar Avatar answered Sep 23 '22 21:09

kumar