Skip to content
Digital products marketplace and development services
MILMIT JOURNAL

What is AAPT2?

aap2 is a Build tool in Android Studio that Gridel is directly connected with. In fact, the files in your project must be packaged in order to be expressed as APK. It is called AAPT2. This command is sent by Gradle.

AAPT2 does three important things, which are:

parse
index
compile to binary

Maybe you have a question why packages are converted to binary?

There are two points. First, the binary is highly optimized for the Android operating system, but if you are familiar with the binary structure, you know that each byte consists of 8 bits and creating a binary from all the resources of your software will be a long binary file. ! Here, Gridel is the decision maker of your files. Any file in text format will be converted into binary, and it is true that binary will have more characters, but it is easier to compress. The second point is that the compression of binary files is more than that of text files due to the presence of similar samples.

We will not go into this discussion much, but friends who have worked on the compression issue will understand the issue.

For more information, you can search about Compression, Restoration, Resampling.

If you want, you can communicate with aapt2 through terminal, but there is no need.

You can find a folder with this name in the android studio build tools folder.

be successful and victorious.

CONTINUE READING

Related articles

View all articles
3 min read

How to remove WordPress pop-up virus

We will teach you how to remove WordPress popup virus ($_REQUEST[‘action’]) && isset($_REQUEST[‘password’]) && ) It may happen that sometimes when you open your…

MilMit
2 min read

How to install Xcode on Windows

– Rent a Mac online Yes, you may ask what is online Mac rental. As you know, there is a service called VPS. In…

MilMit

Leave a Reply