I'm working on an android app that already have many dependencies in it. I want to remove some starting by the bigger one's. How to check their size in the app?
The APK size will make an impact on your app performance about How fast it loads, How much memory it consumes, and How much memory it uses. It is very important to take a look at your APK size while developing. In this article, we will take a look over the tips to reduce your APK size in Android Studio.
In Android Studio, dependencies allows us to include external library or local jar files or other library modules in our Android project. For example: Suppose I want to show some images in ImageView. But I'm using Glide Library to enhance the smoothness of application.
Drag an APK or app bundle into the Editor window of Android Studio. Switch to the Project perspective in the Project window and then double-click the APK in the default build/output/apks/ directory. Select Build > Analyze APK in the menu bar and then select your APK or app bundle.
In Android Studio it can be found under appName > Tasks > help > dependencies .
In new Android Studio you can navigate build/outputs/apk
folder double tap on apk file you are interested (there should be separate file for each flavor) It will open a view like this: there is lib
folder where you can check a size of each library. also you can se a size of resources and other stuf.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With