Discussion Forums  >  Uncategorized

Replies: 5    Views: 517

Stefan
buzztouch Evangelist
Profile
Posts: 558
Reg: Dec 21, 2010
Sweden
14,780
08/19/11 12:30 AM (14 years ago)

Facebook crashes my android app

This is strange. I have done everything installed api, secret and so forth added it to the strings.xml and saved. Yesterday I could post to facebook. Today the app crashes. process com.1111111111111.com for the program (my app name) stopped. Try again. And my options is only force close. Anyone having ideas? My first attempt to make a android app. I'm basically done. Only this error stopp me from finishing the app. BR/Stefan
 
Stefan
buzztouch Evangelist
Profile
Posts: 558
Reg: Dec 21, 2010
Sweden
14,780
like
08/19/11 12:32 AM (14 years ago)
Bummer! The message is landing into my Facebook stream. But the app crashes. Weird indeed!
 
steveh6883
buzztouch Evangelist
Profile
Posts: 383
Reg: May 15, 2011
Gosport, UK
3,830
like
08/19/11 05:59 AM (14 years ago)
Have you ensured the Facebook API details in your strings also matches the Facebook API details on the Buzztouch page? Also, are you testing on emulator or real device?
 
Paul Rogers
Android Fan
Profile
Posts: 2524
Reg: May 30, 2011
UK
35,740
like
08/19/11 06:29 AM (14 years ago)
And your FB app name in the strings file - Case sensitive, spaces etc.
 
Stefan
buzztouch Evangelist
Profile
Posts: 558
Reg: Dec 21, 2010
Sweden
14,780
like
08/19/11 06:43 AM (14 years ago)
Yup. Have done them all. The weird is that the app crashes but the message get through. While I have your attention: The default message get the app because its the greatest bla bla... wont show up in the app. Why is that? I see it in the Buzztouch page but not in the app. I have found the last line to be marked with a error sign in eclipise. Could this be the cause to my problems? public static void clearCookies(Context context) { // Edge case: an illegal state exception is thrown if an instance of // CookieSyncManager has not be created. CookieSyncManager is normally // created by a WebKit view, but this might happen if you start the // app, restore saved state, and click logout before running a UI // dialog in a WebView -- in which case the app crashes CookieSyncManager cookieSyncMngr =
 
steveh6883
buzztouch Evangelist
Profile
Posts: 383
Reg: May 15, 2011
Gosport, UK
3,830
like
08/19/11 06:52 AM (14 years ago)
hover or right click over error & will tel you the cause & may even give you option of 'QuickFix' & make suggestion to fix Eclipse is pretty intuitive like that, it generally suggests the correct fix
 

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.