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?
可以将文章内容翻译成中文,广告屏蔽插件可能会导致该功能失效(如失效,请关闭广告屏蔽插件后再试):
问题:
回答1:
I dont know whether it helps you or not but I researched and found this.
select project from dropdown. go to your project. now select the libraries. right click on the library you want to see the detail. choose file path and click on the libraries or you can choose your dependency library. and go to the directory as shown in figure below
回答2:
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.