Add download sizes similar to Android Studio Apk analyzer
kmadsen opened this issue · 4 comments
Is there a way to check the download size of native libraries (.so objects) for each build? Android Studio provides the download sizes for each of these, but we want to keep record of it internally. So we're looking to turn these values into JSON objects.
https://github.com/JetBrains/android/tree/master/apkanalyzer
I've dug into how the Android Studio plugin is working. I've made a jar similar to classy shark that uses their libraries that is working for our use case, but it would be good to use something with a broader audience. When investigating, here are the references identified.
- apkanalyzer documentation https://developer.android.com/studio/build/apk-analyzer
- android studio plugin for apkanalyzer https://github.com/JetBrains/android/tree/master/apkanalyzer
- android apkanalyzer source code https://android.googlesource.com/platform/tools/base/+/studio-master-dev/apkparser
- releases for apkanalyzer https://mvnrepository.com/artifact/com.android.tools.apkparser/apkanalyzer
- apk and app bundle size estimator https://github.com/googlesamples/apk-patch-size-estimator
- app bundle documentation https://developer.android.com/guide/app-bundle
Always happy for pull requests 💯
Yeah can look into it soon. What are your thoughts on kotlinx-cli?
Creating kotlin command line interfaces looks like it is becoming nice, and it's how I've set up our apkanalyzer
kotlinx-cli, don't have any opinions