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 Build an Interactive Story App User Input Introducing ImageViews

Henrik Granstroem
Henrik Granstroem
3,127 Points

Can't add or see the images in Android Studio after moving them to the drawable folders.

I have followed the video and moved the drawable files to the project. But the don't appear when I want to add the image in my "activity". I can't even list the drawable in the folder in the project view at the right. But if I double-click the drawable, I can right-click on the drawable which appears under the button-list and then see the existens of the files. Then I can't see the images when I want to add the imageView objects. This is very strange.

Same happening for me in Android Studio 3.0.1 in Linux. I had to restart AS, and have it re-index the res folder.

2 Answers

Andreas Enevoldsen
Andreas Enevoldsen
721 Points

Restarting Android studio worked for me. Thank you:)

yes. restart android worked for me too