🤑 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

  • 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
  • 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.

    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.