Discussion Forums  >  Crashes, Memory Warnings

Replies: 5    Views: 275

bizappsmedia
buzztouch Evangelist
Profile
Posts: 39
Reg: Nov 21, 2012
San Diego,CA
6,590
05/03/14 11:27 AM (9 years ago)

Android App Crashing After Refresh

Hello community, On my android app, I'm using the Menu Image Advanced Plug-In. I find that it is crashing after i refresh my app, and then try to choose something in my menu list. Here's a link to the logcat: https://dl.dropboxusercontent.com/u/13967071/BuzztouchTroubleLog/logAfterRefreshThenCrash.txt Here's a snippet of the log cat just after i hit refresh: 05-03 11:02:40.627: W/ZZ(7037): BT_activity_host:refreshAppData 05-03 11:02:40.627: W/ZZ(7037): BT_activity_host:showFragmentForPlugin "NULL SCREEN DATA" 05-03 11:02:40.627: W/ZZ(7037): BT_activity_host:configureNavBarAndBackgroundForScreen. NULL SCREEN DATA? Also here's a snippet of the log cat just before it begins to crash (endless loop): 05-03 11:03:25.311: W/ZZ(7037): BT_viewUtilities:updateBackgroundColorsForScreen. Screen with JSON itemId: "E98218ED765428D19E78BA0" itemType: "Cr_menu_advanced" itemNickname: "EventInfo" 05-03 11:03:25.311: W/ZZ(7037): BT_viewUtilities:updateBackgroundImageForScreen. Screen with JSON itemId: "E98218ED765428D19E78BA0" itemType: "Cr_menu_advanced" itemNickname: "EventInfo" 05-03 11:03:25.379: W/ZZ(7037): Cr_menu_advanced:onPause JSON itemId: "E96679E4D5080C2F0D15316" itemType: "Cr_menu_advanced" itemNickname: "Home" 05-03 11:03:25.379: W/ZZ(7037): Cr_menu_advanced:onPause 05-03 11:03:25.379: W/ZZ(7037): Cr_menu_advanced:onStop JSON itemId: "E96679E4D5080C2F0D15316" itemType: "Cr_menu_advanced" itemNickname: "Home" 05-03 11:03:25.379: W/ZZ(7037): Cr_menu_advanced:onStop Not sure if this has anything to do with it. Any help or suggestions would definitely help!
 
CMCOFFEE
Android Fan
Profile
Posts: 2017
Reg: Jan 04, 2013
Amarillo, Texas
26,670
like
05/03/14 11:33 AM (9 years ago)
My android apps do that if I change or added something on the cp building a new apk
 
CMCOFFEE
Android Fan
Profile
Posts: 2017
Reg: Jan 04, 2013
Amarillo, Texas
26,670
like
05/03/14 11:46 AM (9 years ago)
Publishing changes and downloading the project again.it doesn't handle ot as well as ios
 
bizappsmedia
buzztouch Evangelist
Profile
Posts: 39
Reg: Nov 21, 2012
San Diego,CA
6,590
like
05/03/14 12:43 PM (9 years ago)
Thanks CMCOFFEE. I just tried your suggestion. It's now crashing as soon as I hit refresh right after I open the app. What's consistent is the it crashes at cr_menu_advanced:onStop. In looking at the code, the onStop method looks like it's stopping a few threads...
 
bizappsmedia
buzztouch Evangelist
Profile
Posts: 39
Reg: Nov 21, 2012
San Diego,CA
6,590
like
05/03/14 09:04 PM (9 years ago)
ended up figuring this out... for the plug in, i had specified an image url as the header image. I changed the app to include the header image in the project. This made the refresh work.
 
CMCOFFEE
Android Fan
Profile
Posts: 2017
Reg: Jan 04, 2013
Amarillo, Texas
26,670
like
05/03/14 09:15 PM (9 years ago)
Nice
 

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.