cordova-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ste...@apache.org
Subject [1/2] docs commit: Added info to enable remote debugging in Android
Date Tue, 23 Aug 2016 01:01:04 GMT
Repository: cordova-docs
Updated Branches:
  refs/heads/master d30d1299c -> 27c005850


Added info to enable remote debugging in Android

When going to inspect devices in Chrome I could see my device connected via USB, but the Cordova
webview wasn't appearing. I had to add `android:debuggable="true"` to my manifest. It took
me a few hours to figure this out.

Project: http://git-wip-us.apache.org/repos/asf/cordova-docs/repo
Commit: http://git-wip-us.apache.org/repos/asf/cordova-docs/commit/0e0a10f7
Tree: http://git-wip-us.apache.org/repos/asf/cordova-docs/tree/0e0a10f7
Diff: http://git-wip-us.apache.org/repos/asf/cordova-docs/diff/0e0a10f7

Branch: refs/heads/master
Commit: 0e0a10f767d0f9808b87f7bc1854437e71026839
Parents: d30d129
Author: Pier Bover <yo@pierbover.com>
Authored: Fri Aug 19 16:51:03 2016 -0500
Committer: Steve Gill <stevengill97@gmail.com>
Committed: Mon Aug 22 18:01:01 2016 -0700

----------------------------------------------------------------------
 www/docs/en/dev/guide/next/index.md | 2 ++
 1 file changed, 2 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cordova-docs/blob/0e0a10f7/www/docs/en/dev/guide/next/index.md
----------------------------------------------------------------------
diff --git a/www/docs/en/dev/guide/next/index.md b/www/docs/en/dev/guide/next/index.md
index 165f785..26adbcd 100644
--- a/www/docs/en/dev/guide/next/index.md
+++ b/www/docs/en/dev/guide/next/index.md
@@ -153,6 +153,8 @@ With Safari's web inspector you can debug the webview and js code in your
Cordov
 ## Chrome Remote Debugging
 Virtually the same as the Safari version, this works with Android only but can be used from
any desktop operating system. It requires a minimum of Android 4.4 (KitKat), minimum API level
of 19, and Chrome 30+ (on the desktop). Once connected, you get the same Chrome Dev Tools
experience for your mobile applications as you do with your desktop applications. Even better,
the Chrome Dev Tools have a mirror option that shows your app running on the mobile device.
This is more than just a view - you can scroll and click from dev tools and it updates on
the mobile device. More details on Chrome Remote Debugging may be found here: [https://developers.google.com/chrome/mobile/docs/debugging](https://developers.google.com/chrome/mobile/docs/debugging)
 
+You may need to add `android:debuggable="true"` in the `<application>` node of your
`AndroidManifest.xml`.
+
 It is possible to use Chrome Dev Tools to inspect iOS apps, through a WebKit proxy: [https://github.com/google/ios-webkit-debug-proxy/](https://github.com/google/ios-webkit-debug-proxy/)
 
 ## Ripple


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@cordova.apache.org
For additional commands, e-mail: commits-help@cordova.apache.org


Mime
View raw message