java.lang.RuntimeException: Unable to start activity ComponentInfo{pl.zdunex25.updater/pl.zdunex25.updater.MainActivity}: java.lang.ArrayIndexOutOfBoundsException: length=5; index=5
at android.app.ActivityThread.performLaunchActivity(Unknown Source:621)
at android.app.ActivityThread.handleLaunchActivity(Unknown Source:47)
at android.app.servertransaction.LaunchActivityItem.execute(Unknown Source:63)
at android.app.servertransaction.TransactionExecutor.executeCallbacks(Unknown Source:77)
at android.app.servertransaction.TransactionExecutor.execute(Unknown Source:73)
at android.app.ActivityThread$H.handleMessage(Unknown Source:43)
at android.os.Handler.dispatchMessage(Unknown Source:19)
at android.os.Looper.loop(Unknown Source:249)
at android.app.ActivityThread.main(Unknown Source:98)
at java.lang.reflect.Method.invoke(Native Method)
at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(Unknown Source:11)
at com.android.internal.os.ZygoteInit.main(Unknown Source:282)
Caused by: java.lang.ArrayIndexOutOfBoundsException: length=5; index=5
at pl.zdunex25.updater.MainActivity.ifDownloadedStable(MainActivity.java:587)
at pl.zdunex25.updater.MainActivity.onCreate(MainActivity.java:332)
at android.app.Activity.performCreate(Unknown Source:19)
at android.app.Activity.performCreate(Unknown Source:1)
at android.app.Instrumentation.callActivityOnCreate(Unknown Source:3)
at android.app.ActivityThread.performLaunchActivity(Unknown Source:376)
... 11 more