Skip to content Skip to sidebar Skip to footer

Debugging Crash In Cordova App

I am currently developing a cordova / AngularJS based cross platform app with some third party plugins (mainly Bluetooth) and am looking for a way to debug the native Java code of

Solution 1:

  1. Enable developer mode in android settings
  2. Enable debug by usb
  3. Plug your device to the computer by usb
  4. Run in the terminal: adb logcat
  5. Run the application in your phone, adb logcat will give you the java crash report

To see what you want do this:

adb logcat | grep -i "nameofyourapp"

It will filter the lines of the log


Post a Comment for "Debugging Crash In Cordova App"