✨ Earn college credits in Cybersecurity, JS, HTML, CSS and Python

🤑 Join the Treehouse affiliate program and earn 25% recurring commission!

New No-Code Track! 🚀start learning today!

🌟 Dreaming of a bright future? 🎓 Ask about the Treehouse Scholarship program! 🚀

✨ Earn college credits in Cybersecurity, JS, HTML, CSS and Python

🤑 Join the Treehouse affiliate program and earn 25% recurring commission!

  • Treehouse Logo
  • Plans
    Chevron
    • For Individuals
    • For Businesses
    • For Schools
    • For Libraries
    • For Military
  • Library
    Chevron
    • All Courses
    • Tracks
    • College Credit
  • Techdegree
    Chevron
    • Overview
    • Front End Development
    • Full Stack JavaScript
    • Data Analysis
    • UX Design
    • Python
  • Community
    Chevron
    • Code Adventures
    • Discord
    • Forum
    • Success Stories
    • Treehouse Links
    • 100 Days of Code
  • Resources
    Chevron
    • Career Toolbox
    • CodeForward
    • Free Treehouse Near Me
    • Jobs
    • Blog
    • Support
    • About
  • For Individuals For Businesses For Schools For Libraries For Military
  • All Courses Tracks College Credit
  • Overview Front End Web Development Full Stack JavaScript Python Development Data Analysis UX Design
  • Code Adventures Discord Forum Success Stories Treehouse Links 100 Days of Code
  • Career Toolbox CodeForward Free Treehouse Near Me Jobs Blog Support About
  • Sign In
  • Free Trial
Instagram Twitter Facebook YouTube LinkedIn
    • Newest
      • Newest
      • Active
      • Unanswered
      • Featured
    • All Topics
      • All Topics
      • • General Discussion
      • • AI
      • • Android
      • • APIs
      • • Coding for Kids
      • • College Credit
      • • Computer Science
      • • CSS
      • • Data Analysis
      • • Databases
      • • Design
      • • Development Tools
      • • Digital Literacy
      • • Game Development
      • • Go Language
      • • HTML
      • • Java
      • • JavaScript
      • • Learning Resources
      • • Machine Learning
      • • No-Code
      • • PHP
      • • Professional Growth
      • • Python
      • • Quality Assurance
      • • React
      • • Ruby
      • • Security
      • • Swift
    • Showing results for:
    • Android
    • Build a Weather App
    • Concurrency and Error Handling
    • Close
  • Shaunty McMillin
    Shaunty McMillin
    5,379 Points

    Response is continuing to go to onFailure even with the manifest update

    Posted on Nov 21, 2021 by Shaunty McMillin
    Shaunty McMillin
    5,379 Points
    • Android
    • Build a Weather App
    • Concurrency and Error Handling
    • Making Our Code Asynchronous

    1 Answer

  • Liz Kester
    Liz Kester
    1,295 Points

    How to enter an API key as a query parameter (for AccuWeather)?

    Posted on Sep 13, 2020 by Liz Kester
    Liz Kester
    1,295 Points
    • Android
    • Build a Weather App
    • Concurrency and Error Handling
    • Making Our Code Asynchronous

    1 Answer

  • pratyush raj
    pratyush raj
    7,097 Points

    i can't see the json data in the logcat???

    Posted on May 5, 2020 by pratyush raj
    pratyush raj
    7,097 Points
    • Android
    • Build a Weather App
    • Concurrency and Error Handling
    • Making Our Code Asynchronous

    1 Answer

  • Clara Stancu
    Clara Stancu
    5,687 Points

    no matter what value i introduce to the latitude, it is ok for my program.

    Posted on Apr 23, 2020 by Clara Stancu
    Clara Stancu
    5,687 Points
    • Android
    • Build a Weather App
    • Concurrency and Error Handling
    • Configuring the AlertDialog

    0 Answers

  • Vaishnavi Sairaj
    Vaishnavi Sairaj
    2,426 Points

    How come your dialog box runs without having to run it inside runonUIthread?

    Posted on Feb 21, 2020 by Vaishnavi Sairaj
    Vaishnavi Sairaj
    2,426 Points
    • Android
    • Build a Weather App
    • Concurrency and Error Handling
    • Configuring the AlertDialog

    0 Answers

  • Dhruv Mittal
    Dhruv Mittal
    3,050 Points

    Unable to get the API Response from darksky API, the response always goes to onFailure

    Posted on Dec 24, 2019 by Dhruv Mittal
    Dhruv Mittal
    3,050 Points
    • Android
    • Build a Weather App
    • Concurrency and Error Handling
    • Making Our Code Asynchronous

    0 Answers

  • Kabir Gandhiok
    Kabir Gandhiok
    12,553 Points

    What can getActiveNetworkInfo() be replaced with since it was deprecated in API 29

    Posted on Dec 9, 2019 by Kabir Gandhiok
    Kabir Gandhiok
    12,553 Points
    • Android
    • Build a Weather App
    • Concurrency and Error Handling
    • What To Do When the Network is Down

    1 Answer

  • Greg Mosley
    Greg Mosley
    2,495 Points

    No JSON Data landing in the log

    Posted on Jul 21, 2019 by Greg Mosley
    Greg Mosley
    2,495 Points
    • Android
    • Build a Weather App
    • Concurrency and Error Handling
    • Making Our Code Asynchronous

    4 Answers

  • Soumodeep Bhowmick
    Soumodeep Bhowmick
    4,062 Points

    Not getting the JSON data in the log.

    Posted on Apr 25, 2019 by Soumodeep Bhowmick
    Soumodeep Bhowmick
    4,062 Points
    • Android
    • Build a Weather App
    • Concurrency and Error Handling
    • Making Our Code Asynchronous

    1 Answer

  • Olivia Chai
    Olivia Chai
    2,732 Points

    Cannot Run the Stormy App

    Posted on Apr 14, 2019 by Olivia Chai
    Olivia Chai
    2,732 Points
    • Android
    • Build a Weather App
    • Concurrency and Error Handling
    • Making Our Code Asynchronous

    1 Answer

  • remi poolen
    remi poolen
    6,697 Points

    error: exception IOException is never thrown in body of corresponding try statement

    Posted on Mar 20, 2019 by remi poolen
    remi poolen
    6,697 Points
    • Android
    • Build a Weather App
    • Concurrency and Error Handling
    • Configuring the AlertDialog

    1 Answer

  • vams passion
    vams passion
    334 Points

    The data is not displaying in the logcat and it is showing some random erros

    Posted on Mar 8, 2019 by vams passion
    vams passion
    334 Points
    • Android
    • Build a Weather App
    • Concurrency and Error Handling
    • Making Our Code Asynchronous

    1 Answer

  • abdul aamer
    abdul aamer
    710 Points

    I'm getting error while running my stormy app

    Posted on Feb 20, 2019 by abdul aamer
    abdul aamer
    710 Points
    • Android
    • Build a Weather App
    • Concurrency and Error Handling
    • Making Our Code Asynchronous

    1 Answer

  • Paul Vickers
    Paul Vickers
    3,380 Points

    Error: Static interface methods are only supported starting with Android N (--min-api 24): okhttp3.Request okhttp3.Authe

    Posted on Feb 19, 2019 by Paul Vickers
    Paul Vickers
    3,380 Points
    • Android
    • Build a Weather App
    • Concurrency and Error Handling
    • Configuring the AlertDialog

    2 Answers

  • <noob />
    <noob />
    17,063 Points

    How to i add another Fragment for the no newtork connection?

    Posted on Feb 16, 2019 by <noob />
    <noob />
    17,063 Points
    • Android
    • Build a Weather App
    • Concurrency and Error Handling
    • What To Do When the Network is Down

    1 Answer

  • Pradeep Jaiswal
    Pradeep Jaiswal
    446 Points

    i am not getting json data from darksky website API

    Posted on Jan 27, 2019 by Pradeep Jaiswal
    Pradeep Jaiswal
    446 Points
    • Android
    • Build a Weather App
    • Concurrency and Error Handling
    • Making Our Code Asynchronous

    1 Answer

  • geraldcampana
    geraldcampana
    2,163 Points

    AlertDialog class belongs in two different packages "android.app" and "android.support.v7.app". Which should we use?

    Posted on Jan 19, 2019 by geraldcampana
    geraldcampana
    2,163 Points
    • Android
    • Build a Weather App
    • Concurrency and Error Handling
    • Handling Errors

    0 Answers

  • michael lee
    michael lee
    5,179 Points

    what happens when he hit rebuild the project, what does that do ?

    Posted on Jan 18, 2019 by michael lee
    michael lee
    5,179 Points
    • Android
    • Build a Weather App
    • Concurrency and Error Handling
    • Configuring the AlertDialog

    1 Answer

  • michael lee
    michael lee
    5,179 Points

    error: unexpected element <user-permission> found in <manifest>.

    Posted on Jan 18, 2019 by michael lee
    michael lee
    5,179 Points
    • Android
    • Build a Weather App
    • Concurrency and Error Handling
    • Making Our Code Asynchronous

    2 Answers

  • Nguyen Pham
    Nguyen Pham
    4,856 Points

    Since DialogFragment is no longer available, what is the alternative to this?

    Posted on Dec 21, 2018 by Nguyen Pham
    Nguyen Pham
    4,856 Points
    • Android
    • Build a Weather App
    • Concurrency and Error Handling
    • Configuring the AlertDialog

    2 Answers

  • Jovy Ong
    seal-mask
    .a{fill-rule:evenodd;}techdegree
    Jovy Ong
    Front End Web Development Techdegree Student 14,858 Points

    Should we use ConnectivityManagerCompat? If so how?

    Posted on Dec 4, 2018 by Jovy Ong
    .a{fill-rule:evenodd;}techdegree
    Jovy Ong
    Front End Web Development Techdegree Student 14,858 Points
    • Android
    • Build a Weather App
    • Concurrency and Error Handling
    • What To Do When the Network is Down

    1 Answer

  • Brian Haucke
    Brian Haucke
    13,717 Points

    How to make network_unavailable_message into a dialog fragment

    Posted on Nov 28, 2018 by Brian Haucke
    Brian Haucke
    13,717 Points
    • Android
    • Build a Weather App
    • Concurrency and Error Handling
    • What To Do When the Network is Down

    2 Answers

  • Ryan Tupta
    PLUS
    Ryan Tupta
    Courses Plus Student 5,325 Points

    Since getFragmentManager is deprecated. What should we use instead?

    Posted on Oct 2, 2018 by Ryan Tupta
    Ryan Tupta
    Courses Plus Student 5,325 Points
    • Android
    • Build a Weather App
    • Concurrency and Error Handling
    • Configuring the AlertDialog

    2 Answers

  • KARTIK BHASIN
    KARTIK BHASIN
    9,299 Points

    Data not being displayed under Logcat section

    Posted on Jul 26, 2018 by KARTIK BHASIN
    KARTIK BHASIN
    9,299 Points
    • Android
    • Build a Weather App
    • Concurrency and Error Handling
    • Making Our Code Asynchronous

    2 Answers

  • Armand Ramos
    Armand Ramos
    6,002 Points

    Darksky Response is giving me "{"time":1531270080,"precipIntensity":0,"precipProbability":0}" over and over again.

    Posted on Jul 11, 2018 by Armand Ramos
    Armand Ramos
    6,002 Points
    • Android
    • Build a Weather App
    • Concurrency and Error Handling
    • Making Our Code Asynchronous

    1 Answer

  • alekseibingham
    alekseibingham
    4,491 Points

    I am confused with the onFailure method and onResponse Method.

    Posted on Jun 21, 2018 by alekseibingham
    alekseibingham
    4,491 Points
    • Android
    • Build a Weather App
    • Concurrency and Error Handling
    • Configuring the AlertDialog

    1 Answer

  • Michael Switzer
    Michael Switzer
    7,490 Points

    The class "android.app.DialogFragment" is deprecated in API 28. What should we use instead?

    Posted on Jun 21, 2018 by Michael Switzer
    Michael Switzer
    7,490 Points
    • Android
    • Build a Weather App
    • Concurrency and Error Handling
    • Handling Errors

    2 Answers

  • Nicolas Connor
    Nicolas Connor
    3,410 Points

    call.enqueue code block is getting skipped

    Posted on May 5, 2018 by Nicolas Connor
    Nicolas Connor
    3,410 Points
    • Android
    • Build a Weather App
    • Concurrency and Error Handling
    • Making Our Code Asynchronous

    1 Answer

Posting to the forum is only allowed for members with active accounts.
Please sign in or sign up to post.

    Treehouse

  • About
  • Blog
  • Careers
  • Community
  • Stories
  • Shop
  • Contact
  • Gift Card

See Full Catalogue

Techdegree

  • Front End Web Development
  • Full Stack JavaScript
  • Python Development
  • Data Analysis
  • UX Design

Tracks

  • Learn to Code for Beginners
  • Beginning Python
  • Beginning SQL
  • Beginning Java
  • ...see more

Courses

  • JavaScript Basics
  • Intro to HTML & CSS
  • Python Basics
  • CSS Layout
  • ...see more

Explore

  • Plans
  • Affiliates
  • Perks
  • Free Treehouse Near Me
  • Treehouse for Libraries
  • Treehouse for Businesses
  • Twitter
  • YouTube
  • Facebook
  • LinkedIn
  • Instagram
Terms & Conditions | Privacy

© 2025 Treehouse Island, Inc.