I am developing a crash reporter plugin for phonegap android apps. For the testing purpose, I have to make my application crash & \"Unfortunately, application has stopped\"
You can try to do a infinity loop incrementally appending a string as the app starts:
onDeviceReady: function() { var test = "test"; while (true) { test += "--------------------"; console.log(test); } },
This will do the trick.