Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Invalid file name error in eclipse for images

Tags:

android

I'm facing the following error:

res/drawable-hdpi/Twitter.png: Invalid file name: must contain only [a-z0-9_.]

Twitter.png looks like a valid filename to me. None of the other images having names like Facebook.png, RSS.png work.

Help please!!

like image 807
namita Avatar asked Jul 18 '11 08:07

namita


1 Answers

uppercase is not allowed for resource names.. only lowercase(a-z), 0-9, .(dot) and _ are valid.

Your image names should be twitter.png, facebook.png, rss.png

like image 73
Varun Avatar answered Sep 27 '22 18:09

Varun