Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Android: How to manually add a file to apk?

Tags:

android

How do I manually add a file to an Android APK package?

like image 816
zer0stimulus Avatar asked Aug 21 '10 00:08

zer0stimulus


1 Answers

There's a tool called aapt that is bundled with the Android SDK. You can use it to add/remove/list files in an existing apk. Run aapt without any params and it will print usage instructions. To add a file use:

aapt add MyApp.apk file1 file2 ...
like image 121
svoisen Avatar answered Nov 15 '22 12:11

svoisen