Reader small image

You're reading from  Mastering Android Studio 3

Product typeBook
Published inAug 2017
Reading LevelIntermediate
Publisher
ISBN-139781786467447
Edition1st Edition
Languages
Right arrow
Author (1)
Kyle Mew
Kyle Mew
author image
Kyle Mew

Kyle Mew has been programming since the early '80s and has written for several technology websites. Also, he has written three radio plays and four other books on Android development.
Read more about Kyle Mew

Right arrow

An APK analysis

APK Analyzer is one of the handiest features of Android Studio; as its name suggests, it allows us to analyze APK files themselves, even performing a certain amount of reverse engineering by extracting resources and XML and allowing us to compare different versions.

The APK Analyzer can also be found in the Build menu, under Analyze APK.... Every time we run a project on a device or emulator, a debug APK is generated. This can be found in your project directories under; \SomeProject\App\build\outputs\apk\debug.

The Analyzer displays its output, as follows:

APK analysis

The Analyzer's output contains a wealth of information, beginning with its size and its compressed Play store size. It is possible to see at a glance which resources take up the most room and rectify this where possible, for example by using vectors instead of bitmaps.

The classes.dex file...

lock icon
The rest of the page is locked
Previous PageNext Page
You have been reading a chapter from
Mastering Android Studio 3
Published in: Aug 2017Publisher: ISBN-13: 9781786467447

Author (1)

author image
Kyle Mew

Kyle Mew has been programming since the early '80s and has written for several technology websites. Also, he has written three radio plays and four other books on Android development.
Read more about Kyle Mew