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 trialNachiket Naik
2,719 PointsRequest is never getting complete.
When I doing async call it is always going into onFailure method. I have tested url in browser, it opens up there nicely. I don't understand what I am missing?
url of error:- https://drive.google.com/file/d/0B8jHelS14namSkI3anliZ2hoY2s/view?usp=sharing
1 Answer
Seth Kroger
56,413 PointsTwo things you should check:
- Are you giving you app internet permissions in the manifest correctly?
- Can your emulator access the internet? (Check by trying to use the emulator's web browser.)
If either of those don't work can you post your code and app manifest so we can take a look?
Nachiket Naik
2,719 PointsNachiket Naik
2,719 Pointshey Thanks,
This just got fixed. My internet was not working on my emulator. I fixed that and it worked.
Thank you very much.