nextcloud / nextcloud/talk-android
shrink apk
Open
@mahibi is already working on this.
Since Dec 18, 2025.
1. to develop
- Dominant language
- Kotlin
- Stars
- 739
- Forks
- 321
- Avg merge
- 14h 59m
- Merged PRs (30d)
- 151
Description
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)
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Assessment
This issue has not been assessed yet.