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

luis martinez
2,480 PointsBuild an interactive story (help!)
im using android development 1.1.0 and when i type in mPages[0].setImageId(R.drawable.page0);
it shows the (page0) in red color
on the side where it shows all the little folders it shows
βΌminimap
Thumbs.db ic_launcher maint_title.png page0.png(4) page1.png(1) etc.
4 Answers

Jonathan Bellfontaine
1,968 PointsSolved it. Androids new version uses "R.mipmap.yourPicture" instead of drawable. I used it before and completely forgot haha.

luis martinez
2,480 Pointswhat did you do i am reviewing this part and i forgot how to do it

luis martinez
2,480 Pointsi don't know how to post a screen shot. but what i did was i copied the pictures from the files that i was suppose to download and paste them on the mini map folders

luis martinez
2,480 Pointsi got it fix thank you for the help

Jonathan Bellfontaine
1,968 PointsI'm having this same problem, how did you fix it? Thanks
Andrew Pritykin
6,574 PointsAndrew Pritykin
6,574 PointsCan you take a screen shot? It sounds like your image resources are pasted in the wrong directory.