Discussion Forums  >  Crashes, Memory Warnings

Replies: 4    Views: 352

Dragon007
Lost but trying
Profile
Posts: 1509
Reg: Dec 17, 2011
London
20,590
08/03/14 10:42 AM (10 years ago)

Android Store App Crashes

Hi I recently launched an Android version of my iOS app, but I have already received a number of complaints about the app crashing. I tested the app on Android devices before publishing and it seemed fine. I have copied the crash report, can anyone help me explain what is happening from my report and how best to improve. Any help would be appreciated.
 
CMCOFFEE
Android Fan
Profile
Posts: 2017
Reg: Jan 04, 2013
Amarillo, Texas
26,670
like
08/03/14 11:08 AM (10 years ago)
Can you paste the crash report
 
Dragon007
Lost but trying
Profile
Posts: 1509
Reg: Dec 17, 2011
London
20,590
like
08/03/14 11:38 AM (10 years ago)
Ha ha, totally forgot. java.lang.RuntimeException: Unable to start activity ComponentInfo{com.mysoundtapesandroid/com.mysoundtapesandroid.BT_activity_host}: java.lang.IndexOutOfBoundsException: Invalid index 0, size is 0 at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2110) at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2135) at android.app.ActivityThread.access$700(ActivityThread.java:140) at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1237) at android.os.Handler.dispatchMessage(Handler.java:99) at android.os.Looper.loop(Looper.java:137) at android.app.ActivityThread.main(ActivityThread.java:4938) at java.lang.reflect.Method.invokeNative(Native Method) at java.lang.reflect.Method.invoke(Method.java:511) at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:1038) at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:805) at dalvik.system.NativeStart.main(Native Method) Caused by: java.lang.IndexOutOfBoundsException: Invalid index 0, size is 0 at java.util.ArrayList.throwIndexOutOfBoundsException(ArrayList.java:251) at java.util.ArrayList.get(ArrayList.java:304) at com.mysoundtapesandroid.BT_application.getHomeScreenData(BT_application.java:472) at com.mysoundtapesandroid.BT_activity_host.setupTabs(BT_activity_host.java:387) at com.mysoundtapesandroid.BT_activity_host.configureEnvironment(BT_activity_host.java:352) at com.mysoundtapesandroid.BT_activity_host.onCreate(BT_activity_host.java:129) at android.app.Activity.performCreate(Activity.java:5188) at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1094) at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2074) ... 11 more
 
GoNorthWest
buzztouch Evangelist
Profile
Posts: 8197
Reg: Jun 24, 2011
Oro Valley, AZ
1,000,000
like
08/03/14 09:59 PM (10 years ago)
Do you have a menu list configured with no items in it?
 
Dragon007
Lost but trying
Profile
Posts: 1509
Reg: Dec 17, 2011
London
20,590
like
08/04/14 01:21 AM (10 years ago)
Hi West My app is only made up of custom URL plugins and the Splash plugin. No BT menu's used.
 

Login + Screen Name Required to Post

pointerLogin to participate so you can start earning points. Once you're logged in (and have a screen name entered in your profile), you can subscribe to topics, follow users, and start learning how to make apps like the pros.