Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

What is AAPT (Android Asset Packaging Tool) and how does it work?

What does AAPT (Android Asset Packaging Tool) mean? How does it work?

Can I ship the .so file of one application in the APK file of another application using AAPT?

like image 297
Ganesh Avatar asked Jan 30 '15 11:01

Ganesh


People also ask

What is AAPT used for?

aapt stands for Android Asset Packaging Tool and is included in the tools/ directory of the SDK. This tool allows you to view, create, and update Zip-compatible archives (zip, jar, apk). It can also compile resources into binary assets.

What class is generated when compiling in AAPT?

When your application is compiled, AAPT generates the R class, which contains resource IDs for all the resources in your res/ directory.

Where is AAPT located?

Where it is. In the SDK, aapt is found in the $ANDROID_HOME/platforms/$SDK/tools/ directory of the SDK (where $SDK is the name of some Android version, like android-2.1).


1 Answers

AAPT allows you to view, create, and update ZIP-compatible archives (ZIP, JAR, and APK). It can also compile resources into binary assets. It is the base builder for Android applications.

Of course you can ship .so files from an application, but if you want to use it, you will need reverse engineering plugins and these are not very recommended because of the complexity. I don't know anyone for Android, but there are a bunch of environments plugins.

Also you can research a bit before posting,

  • AAPT usages

  • Reverse engineering for Android

like image 192
MarcS Avatar answered Sep 30 '22 22:09

MarcS