apktool

Reverse engineer Android APK files to view and modify resources

brewmacoslinux
Try with needOr install directly
Source

About

Tool for reverse engineering 3rd party, closed, binary Android apps

Commands

apktool

Examples

Decompile an APK file to extract resources and smali code$ apktool d app.apk
Recompile modified APK contents back into an APK file$ apktool b app-folder -o modified.apk
Decode resources only without decompiling the dex files$ apktool d -r app.apk