: java.lang.IndexOutOfBoundsException: Invalid index 0, size is 0        at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:0000)        at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:0000)        at android.app.ActivityThread.access$000(ActivityThread.java:000)        at android.app.ActivityThread$H.handleMessage(ActivityThread.java:0000)        at android.os.Handler.dispatchMessage(Handler.java:00)        at android.os.Looper.loop(Looper.java:000)        at android.app.ActivityThread.main(ActivityThread.java:0000)        at java.lang.reflect.Method.invokeNative(Native Method)        at java.lang.reflect.Method.invoke(Method.java:000)        at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:000)        at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:000)        at dalvik.system.NativeStart.main(Native Method)  