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 trialAraz kuberin
6,199 Pointscannot resolve symbol timerText ???
cannot resolve symbol timerText ???
2 Answers
Steve Hunter
57,712 PointsHi Araz,
That means Java doesn't now what timerText
is so it has not been declared. Can you paste your code into here and we'll get that sorted for you.
Steve.
Jordan Powell
Courses Plus Student 5,410 PointsYou have to remove the 'm' from your setter and getter in the variable name. you have this: public void setmTimerText(String mTimerText) { this.mTimerText.set(mTimerText); } you need this: public void setTimerText(String mTimerText) { this.mTimerText.set(mTimerText); }
Araz kuberin
6,199 PointsAraz kuberin
6,199 PointsHello Steve!
[MOD: edited code block - srh]
Araz kuberin
6,199 PointsAraz kuberin
6,199 PointsAraz kuberin
6,199 PointsAraz kuberin
6,199 PointsI just changed
from:
to:
Then the cannot resolve symbol timerText disappeared but still i cant see the hammer text when running the program!