Analyze your build with APK Analyzer | How to analyze .apk or .aab file in android studio

Debabrata Dhar
2 min readJun 9, 2021

--

One of the best feature in android studio is apk Analyzer. Here you can understand the size of .apk file or .aab how to build. You can take decision, that how to optimize the apk or aab file size.

So in this article I show you how to analyze apk file in android studio. You can analyze your build apk and also outside of the project.

So read this article-

First you can build a .apk or .aab file of your project. After build successful you can see a notification pou-up in bottom-right side corner that the apk build is successful. Here you see two linked text “Locate” and “analyze”. Now you need to click on “analyze”.

After click on Analyze, you can see the analyze report on your android studio window. Here you check the dex file size, all the res files i.e drawable, mipmap, string etc how much take the memory in your apk file. See the below screenshots, so you can better understand-

See this video, so you can understand it-

Also You can analyze apk file that not build in your project, i.e outside of project. For this case you need to click on Build->Analyze Apk. After clicking on that a pop-up is open, where you need to define the apk file path and click on ok.

Now you can see the similar analyzer window in android studio.

You can watch this video, for better understanding

Please share this article.

Thanks

Originally published at http://techtalkwithdebabrata360.blogspot.com on June 9, 2021.

--

--