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

mandy Xun
mandy Xun
2,917 Points

Network is unavailable -- the weather app

I pull the exact same code from the last lesson of Weather app. But when i run it on my simulator, there is no data shown on the screen. And when I click the refresh button, there is a token pops up says "Network is unavailable".

I assume I use the same code as teacher generate, since I just use the downloaded file. Why there is no data shown?