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

Development Tools

Eugenio Diaz
Eugenio Diaz
1,765 Points

Need Help on a problem i got in Android Studio

public static final int Start buttom=0x7f080001;

When i try to run my app it underlines "Start buttom"; saying "cannot resolve symbol "buttom"". I already tried rebuilding and cleaning the project but didnยดt work. What can i do?

1 Answer

Dan Johnson
Dan Johnson
40,533 Points

You can't have white space in variable/constant names. In order to separate words you can use the following:

// All uppercase with underlines for separation is the standard for 
// constants.
public static final int START_BUTTON = 0x7f080001;