New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
你有哪些经过验证的APK瘦身方法? #119
Comments
补充,刚看到一个不错的链接,可以参考下: |
如果是不是目标版本的so 可以用7z进行压缩,然后解压 |
1.图片压缩; |
Android Studio的Gradle构建系统支持自动移除无用的资源,基本配置如下 android {
buildTypes {
release {
minifyEnabled true
shrinkResources true
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
}
}
} 更多详细内容参考http://tools.android.com/tech-docs/new-build-system/resource-shrinking |
7zip压缩优化,这一步在gradle中如何使用? |
可以通过删除R.class文件来达到减少apk大小和dex数量 |
APK如何瘦身?有哪些方法?
The text was updated successfully, but these errors were encountered: