Welcome to the Treehouse Community

Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.

Start your free trial

Android

process com.exaple.android.samplesync error

When I test for TOAST and Logging, I've got this error " Sorry! The application Sample SyncAdapter(process com.exaple.android.samplesync) has stypped unexpectedly. Please try again. Force close" My application is running but don't see log in CatLog.

2 Answers

This is my error message. Please see the photo: Imgur

Ben Jakuben
STAFF
Ben Jakuben
Treehouse Teacher

Hi May,

Would you mind pasting your code in here for us to look at?

Alternatively, if you want to troubleshoot yourself, try inserting some break points in your code and then stepping through it line by line using the debugger. That can help you identify the line of code that is causing the crash and then you can analyze that line more closely. In case you haven't seen it, here's the video where we introduce debugging: http://teamtreehouse.com/library/android-development/build-an-android-crystal-ball-app/interrogating-the-app/debugging-troubleshooting-line-by-line

(Adorable baby in your avatar, by the way!)

Thank you. I will try to debug myself. If I cannot solve it, I will contact you again. My avatar is my 7 month old son. Thanks