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.

Alistair Owens
6,101 Pointsjava Course - Animation of Crystal Ball Problem
In the video Animating the Crystal Ball, at the 6.00 minute mark where Ben is setting the Image resource for the image view, he types a dot after typing "drawable" and intellisense gives him a list of the contents of his "drawable" folders from which he selects the "ball_animation" manifest. My code is the same as Ben's but I am not presented with the same list. Rather I am presented with a much shorter list which does not contain the ball_animation file. The list contains 3 items:
- ball01: int - R.drawable
- ic_laauncher: int - R.drawable
- class: Class <com.example.crystalBall.R.drawable> this
Anyone else seen this problem? Regards Alistair
2 Answers

Ben Rubin
Courses Plus Student 14,658 PointsDid you put all of those ballXX.png files and the ball_animation.xml file into your res/drawable-mdpi folder?
If the files are in there, try refreshing your project in the Package Explorer. Right click on your project name and click Refresh. Eclipse doesn't automatically refresh the files in your Package Explorer when you make changes to them outside of Eclipse. Once you've refreshed, open the res/drawable-mdpi folder in Eclipse's Package Explorer tab and make sure the files are in there.

Alistair Owens
6,101 PointsMany thanks Ben. A refresh followed by a project>clean solved it. Thanks again. Kind regards Alistair