Skip to content
This repository was archived by the owner on Aug 15, 2021. It is now read-only.

Commit 11de8c4

Browse files
committed
Add Readme
1 parent 18801c8 commit 11de8c4

1 file changed

Lines changed: 25 additions & 0 deletions

File tree

README.md

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
## AAPT & APKName for Android
2+
3+
**AAPT** - Android Asset Packaging Tool. This tool is part of the SDK (and build system) and allows you to view, create, and update Zip-compatible archives (zip, jar, apk). The original one is only built for host i.e. Linux, Mac and Windows. This repo has been modified to use with Android System & Recovery.
4+
5+
**APKName** - Trimmed version of AAPT that only dumps the package name and application label of given APK.
6+
7+
**Building :**
8+
9+
1. Sync any android ROM. This repo is splited from [OmniROM](https://github.com/omnirom)
10+
11+
2. Remove old aapt folder from frameworks/base
12+
13+
`rm -rf frameworks/base/tools/aapt`
14+
15+
3. Clone this repo to aapt path
16+
17+
`git clone https://github.com/Devil7DK/aapt-android -b master frameworks/base/tools/aapt`
18+
19+
4. Run following commands to build
20+
21+
`. build/envsetup.sh && lunch <generic> && make aapt
22+
-j$(($(nproc)*2))` - for building AAPT
23+
24+
`. build/envsetup.sh && lunch < generic > && make apkname
25+
-j$(($(nproc)*2))` - for building APKName

0 commit comments

Comments
 (0)