Welcome to the Treehouse Community

The Treehouse Community is a meeting place for developers, designers, and programmers of all backgrounds and skill levels to get support. Collaborate here on code errors or bugs that you need feedback on, or asking for an extra set of eyes on your latest project. Join thousands of Treehouse students and alumni in the community today. (Note: Only Treehouse students can comment or ask questions, but non-students are welcome to browse our conversations.)

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and a supportive community. Start your free trial today.

Android

Can not resolve symbol "ColorWheel"

I am currently on the Fun Fact Project and i am tring to add a range of colours to the Fact Book, but i am getting the following message since i have added this code below,

Can not resolve symbol "Color Wheel" what does this mean and how do i solve this issue ?

private ColorWheel mColorWheel = new ColorWheel();

2 Answers

Is there a class called ColorWheel created in the project. If yes, check if both these classes are defined in the same package. For me, in the package 'com.teamtreehouse.funfacts', the following classes are defined:

ColorWheel FactBook FunFactsActivity

Sorry what does " check if both these classes are defined in the same package " mean i am new to this so help me out please thanks

Try opening the Fun Fact project in Finder and open the folders under app -> src -> main -> java.

All of the directories under the java are called packages ( For example - com.teamtreehouse.funfacts). Open each sub package and make sure the following java programs exist.

ColorWheel.java FactBook.java FunFactsActivity.java