ProGuard does not have a standard option for renaming packages, but retains its simple class names.
You can create the ProGuard mapping file manually using the following lines:
com.example.MyClass -> a.MyClass:
com.example.MyOtherClass -> a.MyOtherClass:
Then you can use the option -applymapping mapping.txt
source
share