问题
want to change package name but need keep Class Name not change. any idea?
回答1:
ProGuard doesn't have a standard option to rename packages yet keep their simple class names.
You could create a ProGuard mapping file manually, with lines like:
com.example.MyClass -> a.MyClass:
com.example.MyOtherClass -> a.MyOtherClass:
You can then use the option -applymapping mapping.txt
来源:https://stackoverflow.com/questions/15780865/proguard-keep-class-name-but-change-package-name