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:
- Enable developer mode in android settings
- Enable debug by usb
- Plug your device to the computer by usb
- Run in the terminal: adb logcat
- 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"