Welcome to the Treehouse Community

Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.

Start your free trial

Android Build a Simple Android App (2014) Basic Android Programming Making a Button Do Something

problem trying to set onclicklistener.

trying to set onclicklistener but not getting the option 2 do so.if l type it manually, its coming out in red showing error

2 Answers

Ryan Ruscett
Ryan Ruscett
23,309 Points

Can you add the code example of how you have it in your project?

Fabian Claudio
Fabian Claudio
4,017 Points

I have the same problem and a couple of questions too but no one has answered. The problem is that when you type setOne for the one click listener nothing exists so its red and theres no suggestion meno ect...what should we do