Skip to main content

🚀 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
  • Moira Lawrie-Martyn
    Moira Lawrie-Martyn
    8,073 Points

    For those of us who use metric

    Posted October 11, 2017 1:53pm by Moira Lawrie-Martyn
    Moira Lawrie-Martyn
    8,073 Points
    • Android
    • Build a Weather App (2015)
    • Working with JSON
    • Setting CurrentWeather from JSON

    0 Answers

  • Satyanarayana Akula
    Satyanarayana Akula
    1,264 Points

    When I am trying to Debug it is jumping from JSONObject currently line to exception catching block on top while stepover

    Posted July 5, 2017 5:47pm by Satyanarayana Akula
    Satyanarayana Akula
    1,264 Points
    • Android
    • Build a Weather App (2015)
    • Working with JSON
    • Setting CurrentWeather from JSON

    0 Answers

  • codeoverload
    codeoverload
    24,260 Points

    Debugger: "Frame is not available"

    Posted November 19, 2016 1:20pm by codeoverload
    codeoverload
    24,260 Points
    • Android
    • Build a Weather App (2015)
    • Working with JSON
    • Setting CurrentWeather from JSON

    2 Answers

  • Instagram chat
    Instagram chat
    98 Points

    getting EXEPTION CATUGHT error

    Posted September 28, 2016 1:58pm by Instagram chat
    Instagram chat
    98 Points
    • Android
    • Build a Weather App (2015)
    • Working with JSON
    • Setting CurrentWeather from JSON

    1 Answer

  • Taylor Bryant
    Taylor Bryant
    7,395 Points

    Why can we not string methods with our CurrentWeather Object just like the AlertDialog.Builder Object from earlier?

    Posted August 31, 2016 6:25am by Taylor Bryant
    Taylor Bryant
    7,395 Points
    • Android
    • Build a Weather App (2015)
    • Working with JSON
    • Setting CurrentWeather from JSON

    1 Answer

  • Nick Woelk
    Nick Woelk
    1,131 Points

    The Debugger looks like it is working, but I'm not getting the same results as the presenter.

    Posted August 25, 2016 10:10pm by Nick Woelk
    Nick Woelk
    1,131 Points
    • Android
    • Build a Weather App (2015)
    • Working with JSON
    • Setting CurrentWeather from JSON

    1 Answer

  • ketthip khamfongnoy
    ketthip khamfongnoy
    6,492 Points

    cant find symbol

    Posted August 19, 2016 10:29pm by ketthip khamfongnoy
    ketthip khamfongnoy
    6,492 Points
    • Android
    • Build a Weather App (2015)
    • Working with JSON
    • Setting CurrentWeather from JSON

    1 Answer

  • laze dimitrovski
    laze dimitrovski
    1,535 Points

    Doesn't seem to work

    Posted August 17, 2016 9:12pm by laze dimitrovski
    laze dimitrovski
    1,535 Points
    • Android
    • Build a Weather App (2015)
    • Working with JSON
    • Setting CurrentWeather from JSON

    1 Answer

  • Jeeya M
    Jeeya M
    16,839 Points

    Cannot Resolve Symbol OkHttpClient

    Posted July 13, 2016 2:24am by Jeeya M
    Jeeya M
    16,839 Points
    • Android
    • Build a Weather App (2015)
    • Working with JSON
    • Setting CurrentWeather from JSON

    0 Answers

  • Mario Zamora
    Mario Zamora
    1,396 Points

    how to activate a thread ?

    Posted June 4, 2016 12:38am by Mario Zamora
    Mario Zamora
    1,396 Points
    • Android
    • Build a Weather App (2015)
    • Working with JSON
    • Setting CurrentWeather from JSON

    2 Answers

  • Mario Zamora
    Mario Zamora
    1,396 Points

    how to run the debugger ?

    Posted May 31, 2016 1:47am by Mario Zamora
    Mario Zamora
    1,396 Points
    • Android
    • Build a Weather App (2015)
    • Working with JSON
    • Setting CurrentWeather from JSON

    4 Answers

  • Benjamin McKenzie
    Benjamin McKenzie
    7,455 Points

    Okhttp response.body().string() empty only when logged first?

    Posted May 29, 2016 7:48pm by Benjamin McKenzie
    Benjamin McKenzie
    7,455 Points
    • Android
    • Build a Weather App (2015)
    • Working with JSON
    • Setting CurrentWeather from JSON

    1 Answer

  • Mario Zamora
    Mario Zamora
    1,396 Points

    Why can't I run the debug process as ben does in the video ?

    Posted May 29, 2016 5:52pm by Mario Zamora
    Mario Zamora
    1,396 Points
    • Android
    • Build a Weather App (2015)
    • Working with JSON
    • Setting CurrentWeather from JSON

    0 Answers

  • Chenaj Teja Potu
    Chenaj Teja Potu
    2,972 Points

    Error in Debugging

    Posted February 25, 2016 10:57pm by Chenaj Teja Potu
    Chenaj Teja Potu
    2,972 Points
    • Android
    • Build a Weather App (2015)
    • Working with JSON
    • Setting CurrentWeather from JSON

    2 Answers

  • Orla McGreal
    Orla McGreal
    1,625 Points

    I get this error in my Log: JSONException: No value for Summary. Does anyone know how to fix it?

    Posted December 9, 2015 3:37pm by Orla McGreal
    Orla McGreal
    1,625 Points
    • Android
    • Build a Weather App (2015)
    • Working with JSON
    • Setting CurrentWeather from JSON

    2 Answers

  • Orla McGreal
    Orla McGreal
    1,625 Points

    Problem executing currentWeather code with debugger. Going from setSummary to timezone debugger executes JSON Exception.

    Posted December 4, 2015 11:28am by Orla McGreal
    Orla McGreal
    1,625 Points
    • Android
    • Build a Weather App (2015)
    • Working with JSON
    • Setting CurrentWeather from JSON

    0 Answers

  • andrejtu7
    andrejtu7
    6,649 Points

    Debug

    Posted November 5, 2015 2:58pm by andrejtu7
    andrejtu7
    6,649 Points
    • Android
    • Build a Weather App (2015)
    • Working with JSON
    • Setting CurrentWeather from JSON

    1 Answer

  • Jorge Flores
    Jorge Flores
    7,864 Points

    Can't get correct response from API

    Posted September 20, 2015 6:28am by Jorge Flores
    Jorge Flores
    7,864 Points
    • Android
    • Build a Weather App (2015)
    • Working with JSON
    • Setting CurrentWeather from JSON

    3 Answers

  • Javier Pacheco
    Javier Pacheco
    3,963 Points

    App stopped working

    Posted May 31, 2015 5:15pm by Javier Pacheco
    Javier Pacheco
    3,963 Points
    • Android
    • Build a Weather App (2015)
    • Working with JSON
    • Setting CurrentWeather from JSON

    1 Answer

  • Ragesh Kanagaraj
    Ragesh Kanagaraj
    3,637 Points

    Declaring JSON object for Forecast and Currently

    Posted May 31, 2015 12:27am by Ragesh Kanagaraj
    Ragesh Kanagaraj
    3,637 Points
    • Android
    • Build a Weather App (2015)
    • Working with JSON
    • Setting CurrentWeather from JSON

    1 Answer

  • Andreas Robichaux
    Andreas Robichaux
    2,426 Points

    Why am I getting an error saying a JSON object cannot be converted to string?

    Posted May 27, 2015 11:43pm by Andreas Robichaux
    Andreas Robichaux
    2,426 Points
    • Android
    • Build a Weather App (2015)
    • Working with JSON
    • Setting CurrentWeather from JSON

    2 Answers

  • shakir kasmani
    PLUS
    shakir kasmani
    Courses Plus Student 3,418 Points

    Why our member variable mCurrentWeather is not used?

    Posted May 25, 2015 4:44pm by shakir kasmani
    shakir kasmani
    Courses Plus Student 3,418 Points
    • Android
    • Build a Weather App (2015)
    • Working with JSON
    • Setting CurrentWeather from JSON

    1 Answer

  • Adilet Zhusupbekov
    Adilet Zhusupbekov
    1,948 Points

    If I run Genymotion emulator, I do not have anything in my logcat.

    Posted April 24, 2015 11:26pm by Adilet Zhusupbekov
    Adilet Zhusupbekov
    1,948 Points
    • Android
    • Build a Weather App (2015)
    • Working with JSON
    • Setting CurrentWeather from JSON

    0 Answers

  • Louis Sankey
    Louis Sankey
    22,595 Points

    I'm having a problem with android debug mode

    Posted March 14, 2015 6:00pm by Louis Sankey
    Louis Sankey
    22,595 Points
    • Android
    • Build a Weather App (2015)
    • Working with JSON
    • Setting CurrentWeather from JSON

    2 Answers

  • Ali Ahmed
    Ali Ahmed
    53 Points

    How to change the degree to Celsius?

    Posted February 23, 2015 9:09pm by Ali Ahmed
    Ali Ahmed
    53 Points
    • Android
    • Build a Weather App (2015)
    • Working with JSON
    • Setting CurrentWeather from JSON

    1 Answer

  • Jaime Lossada
    Jaime Lossada
    3,721 Points

    GSON

    Posted February 5, 2015 3:06pm by Jaime Lossada
    Jaime Lossada
    3,721 Points
    • Android
    • Build a Weather App (2015)
    • Working with JSON
    • Setting CurrentWeather from JSON

    1 Answer

  • ms2030
    ms2030
    2,973 Points

    Error: Non-static method 'setHumidity(double)' cannot be referenced from a static context.

    Posted January 31, 2015 5:39pm by ms2030
    ms2030
    2,973 Points
    • Android
    • Build a Weather App (2015)
    • Working with JSON
    • Setting CurrentWeather from JSON

    2 Answers

  • boog690
    boog690
    8,987 Points

    Custom constructors vs. multiple setter methods

    Posted January 26, 2015 7:51pm by boog690
    boog690
    8,987 Points
    • Android
    • Build a Weather App (2015)
    • Working with JSON
    • Setting CurrentWeather from JSON

    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