ekolis
ekolis

Reputation: 6776

Eclipse gives "invalid resource directory name" when I add a non-resource PNG file to my Android project

I want to associate a PNG file with my Android project in Eclipse, but I don't want to actually publish it - it's just a higher-resolution version of the various icon.png files that I used to generate the icon.png files. But wherever I put this PNG file, I get the error "invalid resource directory name". Where am I supposed to put it? I really don't want to put it outside of the project folder, because that would disassociate it from the project!

Upvotes: 2

Views: 1675

Answers (2)

D.A
D.A

Reputation: 2601

What are you using it for? You could put it in your drawable folder and name it icon_ginormous.png. That way you can reference it using your resources.

Upvotes: 0

iTurki
iTurki

Reputation: 16398

Add _workspace folder to your resource folder and put it there.

Upvotes: 4

Related Questions