| The Android Open Source Project | 54b6cfa | 2008-10-21 07:00:00 -0700 | [diff] [blame] | 1 | page.title=Using aapt |
| 2 | @jd:body |
| 3 | |
| 4 | <p><strong>aapt</strong> stands for Android Asset Packaging Tool and is included in the <code>tools/</code> 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. |
| 5 | </p> |
| 6 | <p> |
| 7 | Though you probably won't often use <strong>aapt</strong> directly, build scripts and IDE plugins can utilize this tool to package the apk file that constitutes an Android application. |
| 8 | </p> |
| 9 | <p> |
| 10 | For more usage details, open a terminal, go to the <code>tools/</code> directory, and run the command: |
| 11 | </p> |
| 12 | <ul> |
| 13 | <li><p>Linux or Mac OS X:</p> |
| 14 | <pre>./aapt</pre> |
| 15 | </li> |
| 16 | <li><p>Windows:</p> |
| 17 | <pre>aapt.exe</pre> |
| 18 | </li> |
| 19 | </ul> |
| 20 | |