{"id":1914,"date":"2015-01-06T09:49:02","date_gmt":"2015-01-06T09:49:02","guid":{"rendered":"https:\/\/www.anagram.at\/en\/cordova-development-hints\/"},"modified":"2018-09-30T16:31:48","modified_gmt":"2018-09-30T16:31:48","slug":"cordova-development-hints","status":"publish","type":"post","link":"https:\/\/www.anagram.at\/en\/cordova-development-hints\/","title":{"rendered":"Cordova Development Hints"},"content":{"rendered":"<h2>Show Logs<\/h2>\n<p>adb logcat CordovaLog:D *:S<\/p>\n<p>where the <code>D<\/code> sets the Log Level to DEBUG and the *:S to filter out everything else.<\/p>\n<p>From Android 4.2 upwards you can use chrome:\/\/inspect to connect directly the chrome debugger to your app. During development this is by far the best way to go, unfortunately on previous Android versions this is not possible.<\/p>\n<h2>Clean Project<\/h2>\n<pre>.\/platforms\/android\/cordova\/clean\r\n<\/pre>\n<p>cleans the project (in this case android).<\/p>\n<h2>connect<\/h2>\n<p><code>adb shell<\/code><\/p>\n<p><code>run-as YOUR_PACKAGE ls -l \/data\/data\/YOUR_PACKAGE<\/code><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Show Logs adb logcat CordovaLog:D *:S where the D sets the Log Level to DEBUG and the *:S to filter out everything else. From Android 4.2 upwards you can use chrome:\/\/inspect to connect directly the chrome debugger to your app. During development this is by far the best way to go, unfortunately on previous Android [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_genesis_hide_title":false,"_genesis_hide_breadcrumbs":false,"_genesis_hide_singular_image":false,"_genesis_hide_footer_widgets":false,"_genesis_custom_body_class":"","_genesis_custom_post_class":"","_genesis_layout":""},"categories":[88],"tags":[],"featured_image_src":null,"featured_image_src_square":null,"author_info":{"display_name":"Harald","author_link":"https:\/\/www.anagram.at\/en\/author\/admin\/"},"_links":{"self":[{"href":"https:\/\/www.anagram.at\/en\/wp-json\/wp\/v2\/posts\/1914"}],"collection":[{"href":"https:\/\/www.anagram.at\/en\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.anagram.at\/en\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.anagram.at\/en\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.anagram.at\/en\/wp-json\/wp\/v2\/comments?post=1914"}],"version-history":[{"count":1,"href":"https:\/\/www.anagram.at\/en\/wp-json\/wp\/v2\/posts\/1914\/revisions"}],"predecessor-version":[{"id":2780,"href":"https:\/\/www.anagram.at\/en\/wp-json\/wp\/v2\/posts\/1914\/revisions\/2780"}],"wp:attachment":[{"href":"https:\/\/www.anagram.at\/en\/wp-json\/wp\/v2\/media?parent=1914"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.anagram.at\/en\/wp-json\/wp\/v2\/categories?post=1914"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.anagram.at\/en\/wp-json\/wp\/v2\/tags?post=1914"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}