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

mahesh gurbaxani
mahesh gurbaxani
1,420 Points

could not download drawable image on to the emulator

Getting the followig error message: couldnt resolve resource@ drawable/main_title. failed to convert@drawable/main_title into a drawable.

2 Answers

Hello,

My first thought for this would be that you don't have an image file called main_title in your drawables folders. Please verify that an image file is located in either your main drawables folder, or that you have different dpi imagese in your dpi specific drawables folders(ie drawables-hdpi, drawables-xhdpi, etc). Please let us know if this helps. If not, we can provide more assistance. Also, if you need more assistance, could you please post everywhere that you reference the drawable main_title, that would help us see if you have any code issues that could be causing this.

mahesh gurbaxani
mahesh gurbaxani
1,420 Points

Thanks, I managed to resolve the problem.