the logo.png placed at the root directory;
.
|---logo.png
|---com
| |__one
| |__two
| |__three
| |__four.class
... .... .... ... ....
-adaptresourcefilenames **.png can't change the logo.png's name to something like a.png
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
It works for me. The file name has to correspond exactly to a class name though. Can you give more details?
in package com.one.two.three
hava four.class to create imag like bellow:
package com.one.two.three
Image.createImage("/logo.png");
the logo.png placed at the root directory;
.
|---logo.png
|---com
| |__one
| |__two
| |__three
| |__four.class
... .... .... ... ....
-adaptresourcefilenames **.png can't change the logo.png's name to something like a.png
ProGuard currently doesn't rename such files. I could consider some special cases like the code you provide, but it is not possible in general.