Skip to main content

Notice: Workspaces are undergoing maintenance and are temporarily unavailable.

🚀 In our NEW AI Bootcamp you'll build a working app in 28 days, no experience required. Free to all subscription levels.

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

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

  • Treehouse Logo
    • For Individuals
    • For Businesses
    • For Schools
    • For Libraries
    • For Military
    • All Courses
    • Tracks
    • AI Bootcamp
    • College Credit
    • Techdegree Bootcamps
    • Front End Development
    • Full Stack JavaScript
    • Code Adventures
    • Discord
    • Forum
    • Success Stories
    • Treehouse Links
    • 100 Days of Code
    • Explore
    • Career Toolbox
    • Free Treehouse Near Me
    • Affiliates
    • Blog
    • Support
    • About
    • Learn
    • Beginner's Guide to Coding
    • Data Analysis with SQL & Python
    • Front-End Web Development
    • Python Programming Basics
    • Techdegree Bootcamp Overview
    • UX Design Fundamentals
    • AI Tools for Beginners
  • For Individuals For Businesses For Schools For Libraries For Military
  • All Courses Tracks AI Bootcamp College Credit
  • Techdegree Bootcamps Front End Web Development Full Stack JavaScript
  • Code Adventures Discord Forum Success Stories Treehouse Links 100 Days of Code
  • Explore Career Toolbox Free Treehouse Near Me Affiliates Blog Support About
    Learn Beginner's Guide to Coding Data Analysis with SQL & Python Front-End Web Development Python Programming Basics Techdegree Bootcamp Overview UX Design Fundamentals AI Tools for Beginners
  • Sign In
  • Free Trial
Instagram Twitter Facebook YouTube LinkedIn
Loading banner... Start your free trial at Treehouse
    • Newest
      • Newest
      • Active
      • Unanswered
      • Featured
    • All Topics
      • All Topics
      • • General Discussion
      • • AI
      • • 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
      • • Vibe Coding
  • Shaunty McMillin
    Shaunty McMillin
    5,379 Points

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

    Posted November 21, 2021 7:31pm 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 September 13, 2020 2:29am 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 May 5, 2020 2:22pm 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 April 23, 2020 11:07am 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 February 21, 2020 12:26pm 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 December 24, 2019 4:30am 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 December 9, 2019 11:15am 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 July 21, 2019 9:47am 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 April 25, 2019 6:17am 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 April 14, 2019 2:48pm 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 March 20, 2019 2:03pm 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 March 8, 2019 6:49am 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 February 20, 2019 5:33pm 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 February 19, 2019 1:09pm 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 February 16, 2019 10:06pm 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 January 27, 2019 8:16am 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 January 19, 2019 11:37am 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 January 18, 2019 3:04pm 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 January 18, 2019 2:31pm 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 December 21, 2018 7:19am 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 December 4, 2018 6:01am 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 November 28, 2018 9:59pm 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 October 2, 2018 12:35am 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 July 26, 2018 10:23am 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 July 11, 2018 12:57am 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 June 21, 2018 11:12pm 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 June 21, 2018 6:34pm 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 May 5, 2018 7:39pm 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.

Techdegree

  • Front End Web Development
  • Full Stack JavaScript
SEE ALL

Tracks

  • Learn to Code for Beginners
  • Beginning Python
  • Beginning SQL
  • Beginning Java
SEE ALL

Courses

  • JavaScript Basics
  • Intro to HTML & CSS
  • Python Basics
  • CSS Layout
SEE ALL

About Us

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

Explore

  • Plans
  • Affiliates
  • Perks
  • Shop
  • Free Treehouse Near Me
  • Treehouse for Libraries
  • Treehouse for Businesses

Treehouse is an online technology education platform founded in 2011. Treehouse offers more than 700 self-paced, video-based courses in web development, programming, data analysis, design, and AI, plus two project-based bootcamp programs in Front End Web Development and Full Stack JavaScript. Individual Treehouse plans start at $25 per month and include a 7-day free trial. Treehouse serves individual learners, businesses, schools, and public libraries. Cardholders at participating U.S. public libraries can use Treehouse for free. Select Treehouse courses, offered with University Pathways International, are recommended for college credit by ACE and NCCRS. Treehouse learners earn digital certificates for completed Tracks.

Terms & Conditions · Privacy · © 2026 Treehouse Island, Inc.
  • Twitter
  • YouTube
  • Facebook
  • LinkedIn
  • Instagram
  • Discord