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 trialKevin Chen
2,561 PointsFailure on my call object.
I'm getting the problem of retrieving data from the URL... I checked the value of forecaseURL variable and it works on my browser. I suspect that the internet connection on my emulator is not working but I don't know how to fix it. I didn't find anything about the internet access when I configurated the AVD. Could you help me out? Thanks, Kevin
Kevin Chen
2,561 PointsIt is because of the internet connection on the emulator. Everything is fine with the default AVD of android studio. But I couldn't get it work on genymotion... still couldn't figure out what was wrong with genymotion...
Seth Kroger
56,413 PointsOpen Oracle VM Virtual Box (Genymotion installed this), select your emulator and click Setting then Network. Make sure enabled is checked and attached to "Host-only Adapter"
Seth Kroger
56,413 PointsSeth Kroger
56,413 PointsYou can always check the internet access on the emulator by starting the web browser and going to an external site like google.com or something. It would help to see your code and any message that was logged by the failure.