I want to obfuscated and optimize my project, and when i try to do this with ProGuard it pops out this warning:
Warning: there were 229 classes in incorrectly named files.
You should make sure all file names correspond to their class names.
The directory hierarchies must correspond to the package hierarchies.
(https://www.guardsquare.com/proguard/manual/troubleshooting#unexpectedclass)
If you don't mind the mentioned classes not being written out,
you could try your luck using the '-ignorewarnings' option.
But I don’t know what does You should make sure all file names correspond to their class names.
mean.
I have to change files names to (example)
C:\users\1\desktop\project\net\example\app\net.example.app.file1.java
Instead of
C:\users\1\desktop\project\net\example\app\file1.java
? because it seems weird to me.
Thank you and sorry for noob question and wrong grammar but i am new to ProGuard and kinda new to Java, and i am not mother language.