Skip to main content

🛍️ BLACK FRIDAY get-one-give-one sale is underway. Don't miss $50 off PLUS a free subscription to gift a friend. 🤩

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

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
  • Vaibhav Gaur
    Vaibhav Gaur
    750 Points

    I'm having problem in running my Emulator

    Posted August 3, 2017 2:10am by Vaibhav Gaur
    Vaibhav Gaur
    750 Points
    • Android
    • Build a Simple Android App
    • Basic Android Programming
    • Adding the OnClick Method

    1 Answer

  • habeebur rahman
    habeebur rahman
    713 Points

    cant resolve symbol

    Posted July 19, 2017 12:04pm by habeebur rahman
    habeebur rahman
    713 Points
    • Android
    • Build a Simple Android App
    • Basic Android Programming
    • Adding the OnClick Method

    3 Answers

  • harry houdini
    seal-mask
    PLUS
    .a{fill-rule:evenodd;}techdegree
    harry houdini
    Android Development Techdegree Student 535 Points

    Clicking button changes wrong Text box.

    Posted May 6, 2017 2:17pm by harry houdini
    .a{fill-rule:evenodd;}techdegree
    harry houdini
    Android Development Techdegree Student 535 Points
    • Android
    • Build a Simple Android App
    • Basic Android Programming
    • Adding the OnClick Method

    2 Answers

  • Wannabe Engineer
    Wannabe Engineer
    9,186 Points

    Cannot resolve symbol "R"

    Posted March 1, 2017 4:27pm by Wannabe Engineer
    Wannabe Engineer
    9,186 Points
    • Android
    • Build a Simple Android App
    • Basic Android Programming
    • Adding the OnClick Method

    1 Answer

  • Sonia Reeder-Jones
    Sonia Reeder-Jones
    3,785 Points

    R.id and R.layout are red in my Fun Facts Activity java file and are producing errors.

    Posted January 23, 2017 8:04pm by Sonia Reeder-Jones
    Sonia Reeder-Jones
    3,785 Points
    • Android
    • Build a Simple Android App
    • Basic Android Programming
    • Adding the OnClick Method

    3 Answers

  • Jonas Grønbek
    Jonas Grønbek
    403 Points

    ''My application has stopped'' code and crash error as comment, please help!

    Posted December 19, 2016 10:34am by Jonas Grønbek
    Jonas Grønbek
    403 Points
    • Android
    • Build a Simple Android App
    • Basic Android Programming
    • Adding the OnClick Method

    1 Answer

  • Luke Kim
    Luke Kim
    482 Points

    The app won't open

    Posted October 14, 2016 4:22am by Luke Kim
    Luke Kim
    482 Points
    • Android
    • Build a Simple Android App
    • Basic Android Programming
    • Adding the OnClick Method

    2 Answers

  • Sahar Nasiri
    Sahar Nasiri
    7,454 Points

    View.OnClickListener Outside the onCreate method

    Posted October 7, 2016 6:00am by Sahar Nasiri
    Sahar Nasiri
    7,454 Points
    • Android
    • Build a Simple Android App
    • Basic Android Programming
    • Adding the OnClick Method

    1 Answer

  • Hyejin Yoon
    Hyejin Yoon
    133 Points

    I get the Error. Error:(51, 32) error: cannot find symbol method setText(String) for mFactTextView =setText(fact).

    Posted October 6, 2016 8:17pm by Hyejin Yoon
    Hyejin Yoon
    133 Points
    • Android
    • Build a Simple Android App
    • Basic Android Programming
    • Adding the OnClick Method

    1 Answer

  • Geordy Alexis
    PLUS
    Geordy Alexis
    Courses Plus Student 2,459 Points

    setText(String) error

    Posted September 24, 2016 1:05pm by Geordy Alexis
    Geordy Alexis
    Courses Plus Student 2,459 Points
    • Android
    • Build a Simple Android App
    • Basic Android Programming
    • Adding the OnClick Method

    1 Answer

  • or barnea
    or barnea
    458 Points

    why when i run the program, it is note me: Warning: requested ram_size 1536M too breduced to reduced to 1024M

    Posted September 16, 2016 11:44am by or barnea
    or barnea
    458 Points
    • Android
    • Build a Simple Android App
    • Basic Android Programming
    • Adding the OnClick Method

    0 Answers

  • tanaka mpambawashe
    tanaka mpambawashe
    1,685 Points

    my emulator is showing an trouble shoot

    Posted July 19, 2016 1:26pm by tanaka mpambawashe
    tanaka mpambawashe
    1,685 Points
    • Android
    • Build a Simple Android App
    • Basic Android Programming
    • Adding the OnClick Method

    2 Answers

  • Sha Sud
    Sha Sud
    4,175 Points

    App not running in the android studio?

    Posted June 28, 2016 7:20pm by Sha Sud
    Sha Sud
    4,175 Points
    • Android
    • Build a Simple Android App
    • Basic Android Programming
    • Adding the OnClick Method

    1 Answer

  • Norbert Lukwayi
    Norbert Lukwayi
    1,017 Points

    Emulator is slow

    Posted May 30, 2016 12:44pm by Norbert Lukwayi
    Norbert Lukwayi
    1,017 Points
    • Android
    • Build a Simple Android App
    • Basic Android Programming
    • Adding the OnClick Method

    1 Answer

  • prateek parasher
    PLUS
    prateek parasher
    Courses Plus Student 445 Points

    appnotworking

    Posted April 7, 2016 7:28pm by prateek parasher
    prateek parasher
    Courses Plus Student 445 Points
    • Android
    • Build a Simple Android App
    • Basic Android Programming
    • Adding the OnClick Method

    3 Answers

  • Guy Arnan
    PLUS
    Guy Arnan
    Courses Plus Student 6,300 Points

    Cannot find symbol variable showFactButtton?

    Posted April 6, 2016 1:57pm by Guy Arnan
    Guy Arnan
    Courses Plus Student 6,300 Points
    • Android
    • Build a Simple Android App
    • Basic Android Programming
    • Adding the OnClick Method

    3 Answers

  • Kendall Chung
    Kendall Chung
    9,511 Points

    cant run my app

    Posted March 26, 2016 3:36am by Kendall Chung
    Kendall Chung
    9,511 Points
    • Android
    • Build a Simple Android App
    • Basic Android Programming
    • Adding the OnClick Method

    1 Answer

  • Roland Joseph
    Roland Joseph
    1,210 Points

    I can't get my button to work. I typed in the java code just like the video, but nothing happens when I click my button

    Posted March 18, 2016 10:40pm by Roland Joseph
    Roland Joseph
    1,210 Points
    • Android
    • Build a Simple Android App
    • Basic Android Programming
    • Adding the OnClick Method

    4 Answers

  • Gavin Bowen
    Gavin Bowen
    5,898 Points

    android will not run app

    Posted February 15, 2016 6:30pm by Gavin Bowen
    Gavin Bowen
    5,898 Points
    • Android
    • Build a Simple Android App
    • Basic Android Programming
    • Adding the OnClick Method

    1 Answer

  • Ayush Agarwal
    Ayush Agarwal
    258 Points

    EMULATOR

    Posted February 14, 2016 3:28pm by Ayush Agarwal
    Ayush Agarwal
    258 Points
    • Android
    • Build a Simple Android App
    • Basic Android Programming
    • Adding the OnClick Method

    1 Answer

  • Adia Gawhari
    Adia Gawhari
    1,378 Points

    Cant run the project

    Posted January 19, 2016 2:44pm by Adia Gawhari
    Adia Gawhari
    1,378 Points
    • Android
    • Build a Simple Android App
    • Basic Android Programming
    • Adding the OnClick Method

    1 Answer

  • brittany carter
    brittany carter
    341 Points

    App Will not run Says App has closed unexpectedly and will not run.

    Posted January 18, 2016 12:00am by brittany carter
    brittany carter
    341 Points
    • Android
    • Build a Simple Android App
    • Basic Android Programming
    • Adding the OnClick Method

    2 Answers

  • Adam Croskey
    Adam Croskey
    275 Points

    Cant resolve symbol R

    Posted January 6, 2016 4:20am by Adam Croskey
    Adam Croskey
    275 Points
    • Android
    • Build a Simple Android App
    • Basic Android Programming
    • Adding the OnClick Method

    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