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
Sam Donald
36,305 PointsPhone test not working
I have finished the Blog Reader App and It works on the simulator. But when I try to run it on my phone
HTC One X, Android 4.1.1
I get the Oops Sorry! There was an error getting data from the blog window.
There are no errors listed in my code.
Any ideas where I should be looking?
1 Answer
Ben Jakuben
Treehouse TeacherHi Sam,
Great question. Troubleshooting is an art! First, I would plug the URL we're using into a browser window to make sure that the site is available: http://blog.teamtreehouse.com/api/get_recent_summary/?count=20
Then I'd take a look at the doInBackground method and debug it. Maybe add some log statements or step through it line by line to see where it fails. Hopefully that would give you an answer or more information about where to look next.
Let me know how it goes. There is a bug in the code that could also be contributing to this problem. Check out this forum post for a bugfix that you could try: https://teamtreehouse.com/forum/trying-to-retrieve-data-from-my-own-blog-help
Hope this helps!