Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Welcome To Ask or Share your Answers For Others

Categories

0 votes
527 views
in Technique[技术] by (71.8m points)

gradle - How to check the size of dependencies in an android app?

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?

See Question&Answers more detail:os

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome To Ask or Share your Answers For Others

1 Answer

0 votes
by (71.8m points)

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: enter image description here there is lib folder where you can check a size of each library. also you can se a size of resources and other stuf.


与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Click Here to Ask a Question

...