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

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