ufukcakir ufukcakir - 2 months ago 10
Android Question

I want to test 'Crittercism' tool, how can i develop a crashing app for android?

I want to develop a basic app for Android which must crash randomly to test 'crittercism' tool. What must i do to make an app crash?

Thanks.

Answer

Set something to null and try to use it, like:

TextView v;
v.setText("X");
Comments