nextcloud / nextcloud/talk-android
shrink apk
Đang mở
@mahibi đang làm issue này rồi.
Từ ngày 18/12/2025.
1. to develop
- Ngôn ngữ chính
- Kotlin
- Star
- 739
- Fork
- 321
- Merge trung bình
- 16 giờ 52 phút
- Pull request đã merge (30 ngày)
- 146
Mô tả
https://developer.android.com/topic/performance/app-optimization/enable-app-optimization
Apk is too big (blocks v22.1.0RC1 release)
-
Analyze which files made it so big (262 MB). Everything needed?
-
shrink apk with
isMinifyEnabled = true isShrinkResources = true
From a first try with isMinifyEnabled and isShrinkResources for Android Talk:
Missing classes detected while running R8. Please add the missing classes or apply additional keep rules that are generated in /..../talk-android/app/build/intermediates/mapping/gplayRelease/minifyGplayReleaseWithR8/missing_rules.txt.
Missing class com.google.common.base.Objects$ToStringHelper (referenced from: java.lang.String com.github.filosganga.geogson.model.AbstractGeometry.toString() and 3 other contexts)
Missing class com.google.firebase.analytics.connector.AnalyticsConnector (referenced from: boolean com.google.firebase.messaging.FirebaseMessaging.shouldRetainProxyNotifications() and 2 other contexts)
Missing class org.slf4j.impl.StaticLoggerBinder (referenced from: void org.slf4j.LoggerFactory.bind() and 3 other contexts)
Hướng dẫn đóng góp
Bắt đầu từ đâu
- Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
- Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
- Fork repository và làm thay đổi trên một nhánh.
- Mở pull request có tham chiếu số hiệu của issue.
Đánh giá
Issue này chưa được đánh giá.