Discussion Forums  >  Crashes, Memory Warnings

Replies: 10    Views: 179

Sukera
Veteran developer
Profile
Posts: 46
Reg: Jan 18, 2013
West Lafayette
460
03/05/13 10:57 AM (11 years ago)

Weird Error, Never Seen it Before

Hey, I've got the error below, never seen it before, couldn't find much online about it Received suspend/ resume event but DUNN is not up so neglect IT causes the app to crash after about 3 seconds of coming up on the logcat, some users have reported not being able to even download it due to this error Any ideas? Thanks
 
Sukera
Veteran developer
Profile
Posts: 46
Reg: Jan 18, 2013
West Lafayette
460
like
03/05/13 11:01 AM (11 years ago)
03-05 12:47:48.180: E/DataRouter(2496): [*] Received suspend/ resume event but DUN is not up so neglect There's the full logcat message
 
GoNorthWest
buzztouch Evangelist
Profile
Posts: 8197
Reg: Jun 24, 2011
Oro Valley, AZ
1,000,000
like
03/05/13 11:07 AM (11 years ago)
 
Sukera
Veteran developer
Profile
Posts: 46
Reg: Jan 18, 2013
West Lafayette
460
like
03/05/13 11:21 AM (11 years ago)
Thanks a ton @GoNorthWest!, where did you find that thread, I couldn't find it on bing All I had to do was add this to the manifest android:installLocation="preferExternal" you are a lifesaver, I had spent a few hours previously trying to figure it out, after the link it took 5 minutes! Thanks again!
 
GoNorthWest
buzztouch Evangelist
Profile
Posts: 8197
Reg: Jun 24, 2011
Oro Valley, AZ
1,000,000
like
03/05/13 11:26 AM (11 years ago)
Rock on! To be honest, I just highlighted "Received suspend/ resume event but DUN is not up so neglect" and did a Google search on it, which took me to stackoverflow. That website contains about 90% of the fixes I'm looking for! I always add "preferExternal" to my AndroidManifest.xml file, because I know some people won't install an app if it can't be installed to an SD card. So, it's always good to give them the option. Mark
 
WolfTimJ
buzztouch Evangelist
Profile
Posts: 810
Reg: Feb 20, 2011
Rockwall, TX
17,400
like
03/05/13 11:37 AM (11 years ago)
Laughing a little at "I couldn't find it on Bing"... Not at Sukera. At Bing.
 
Sukera
Veteran developer
Profile
Posts: 46
Reg: Jan 18, 2013
West Lafayette
460
like
03/05/13 11:46 AM (11 years ago)
@WolfTimJ, I used to use google for everything, but I read somewhere that bing's algorithm is supposedly much better? After this I'm switching back to google, lol @GoNorthWest, ya I've never had to add "addexternalpreference" before, and never had any problems, I guess this app is pretty memory consuming. Ya, I love stackoverflow
 
GoNorthWest
buzztouch Evangelist
Profile
Posts: 8197
Reg: Jun 24, 2011
Oro Valley, AZ
1,000,000
like
03/05/13 11:48 AM (11 years ago)
I'd recommend always adding preferExternal, because it gives an option that isn't available if you don't have it. Without it, people are forced to install it on the phone, and they might not have enough memory. It's always best to give users a choice. Mark
 
Sukera
Veteran developer
Profile
Posts: 46
Reg: Jan 18, 2013
West Lafayette
460
like
03/05/13 03:33 PM (11 years ago)
Hey Mark, I fixed that error, but now I'm getting the error 03-05 17:21:45.448: E/(2717): onResume() check 2, mRestoring : false I don;t know why this app is giving me so many weird errors
 
GoNorthWest
buzztouch Evangelist
Profile
Posts: 8197
Reg: Jun 24, 2011
Oro Valley, AZ
1,000,000
like
03/05/13 03:38 PM (11 years ago)
Have you tried to do a Project...Clean yet? That'll break any old code links. I'd also try deleting other projects from Eclipse. It won't delete the actual files...just remove the project from Eclipse. Finally...you could try extracting the source again to a new folder and trying a new import. Maybe there's just too much that got messed up the first time. Mark
 
WolfTimJ
buzztouch Evangelist
Profile
Posts: 810
Reg: Feb 20, 2011
Rockwall, TX
17,400
like
03/05/13 08:08 PM (11 years ago)
Sometimes restart eclipse or the whole machine seems to help too.
 

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.