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 Weather App (2015) Concurrency and Error Handling Making Our Code Asynchronous

call.enqueue not able to execute

The app unfortunately stopped so I tried debugging it to see were issue exists. I have written the same code as the instructor but my code doesn't gets executed from the line after declaring call, i.e. call.enqueue it steps out of the line to the end of the code,. Please help me.

You really need to include your code in the question for us to help you?

Thank you for your quick response. Actually I ran out of patience and posted the question but after that I tried to find the issue and I resolved it. And next time I will keep this in mind and add my code to the question.

1 Answer

Silly mistake, I forgot to add network access permission in manifest file..