android - Extract a class from a module into a JAR -
i have android studio module many classes. shrink apk, i'd store class in jar/aar instead of including in apk.
this class depends on other classes in module, can't place in separate java library module. using gradle, there way customize build stores class in jar/aar instead of including in apk?
you'd still have include jar/aar in apk able compile , run, i'm sorry, makes absolutely no sense do.
there many many other ways shrink apk.
1) use proguard remove unused classes , functions.
2) use pngcrush (or similar) reduce size of png's
3) use vector drawables instead of png's
4) enable shrinkresources
5) manually remove unused libs/drawables/code
Comments
Post a Comment