Did not register Activity in AndroidManifest.
You need reasons why the application will generate an error on startup .
If you do not register the launcher activity in the manifest, the application simply will not build.
If you do not register any other activity in the manifest, the application will crash with an error, but not at the immediate launch of the application, but at the launch of this activity.
As the required reasons, you can specify any situations that result in unchecked exceptions:
ArrayIndexOutOfBoundsException :
int[] array = new int[1]; int a = array[2];
ArithmeticException :
float a = 5/0;
StackOverflowError as a result of infinite recursion:
private void foo() { foo(); } ... foo();
You can also reproduce exceptions from the Android SDK, for example, Resources$NotFoundException :
String s = getString(0);