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 Build a Blog Reader Android App Getting Data from the Web Parsing Data Returned in JSON Format

Priyesh Tungare
Priyesh Tungare
13,168 Points

Reformatting Log.i()

Not able to make the Log.i statement Used Log.i("CodeChallenge",title + i +", "+pages);

But still getting error saying please check the log.i statement

1 Answer

I think you need a + before the word title too.

Priyesh Tungare
Priyesh Tungare
13,168 Points

It worked when I used : Log.i("CodeChallenge", title + ", " + pages); I think the 'i' was not required.