Reputation: 217
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 the app or log crash information.
App is running on KitKat 4.4.4 / Samsung Galaxy S4 via cordova run android --debug command
IDE is currently NetBeans with Cygwin console
The javascript console provides no information as to the crash but is clearly tied to the Bluetooth plugin i am using https://github.com/bcsphere/bluetooth
I have tried using adb logcat command but it seems to just continually print out data for an extended period of time without providing anything particularly useful.
Have a basic grasp of Java so would be interested in finding the Java error causing the crash if possible. Any help would be greatly appreciated, thanks.
Upvotes: 4
Views: 4792
Reputation: 636
To see what you want do this:
adb logcat | grep -i "nameofyourapp"
It will filter the lines of the log
Upvotes: 12