> For the complete documentation index, see [llms.txt](https://bradsen.gitbook.io/docs/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://bradsen.gitbook.io/docs/mobile-pentesting/tools/apktool.md).

# Apktool

The tool helps you decode, analyze, modify, and rebuild APKs.

## Installation and Setup

{% embed url="<https://apktool.org/docs/install>" %}

## Useful Commands&#x20;

Decode an APK&#x20;

```
apktool d app.apk
```

Decode to an specific directory

```
apktool d app.apk -o output
```

Build/Recompile an APK&#x20;

```
apktool b app_folder
```

Build to a specific output file&#x20;

```
apktool b app_folder -o modified.apk
```

Decode resources only&#x20;

```
apktool d app.apk --no-src
```
