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 trialViraj Thakur
5,911 Pointsorg.json.JSONException: Unterminated string at character 5565
i finish building the app and when i run the app on my samsung phone it works fine but when i run the app on my Moto g3 i get an Runtime Exception
org.json.JSONException: Unterminated string at character 5565 01-31 20:33:57.799: E/MainListActivity(31620): org.json.JSONException: Unterminated string at character 5565 of {"status":"ok","count":20,"count_total":2148,"pages":108,"posts":[{"id":25877,"url":"http:\/\/blog.teamtreehouse.com\/5-new-features-php-7","title":"5 New Features in PHP 7","date":"2016-01-27 08:51:47","author":"Alena Holligan","thumbnail":"http:\/\/blog.teamtreehouse.com\/wp-content\/uploads\/2016\/01\/benchmark-150x150.png"},{"id":25867,"url":"http:\/\/blog.teamtreehouse.com\/in-9-months-malina-transformed-from-novice-to-professional-developer","title":"In 9 months, Malina Transformed From Novice to Professional Developer","date":"2016-01-26 00:00:00","author":"Faye Bridge","thumbnail":null},{"id":25869,"url":"http:\/\/blog.teamtreehouse.com\/new-course-roundup-unity-sql-objective-c","title":"New Course Roundup: Unity, SQL & Objective-C","date":"2016-01-25 08:40:46","author":"Faye Bridge","thumbnail":null},{"id":25794,"url":"http:\/\/blog.teamtreehouse.com\/3-treehouse-students-who-found-their-calling-in��������������������������������������������������������������������������������������������������������������������...
1 Answer
Steve Hunter
57,712 PointsHI there,
I suggest having a look through this thread as that might contain a workaround for this issue.
I hope that helps,
Steve.