Recompiling (Part 4)
Now lets return back to our command prompt window. The command this time is
apktool b MIUIStats(b means build, and MIUIStats is the name of the folder of our decompiled APK)
This will begin to pull all your changes from the modified files and re-build it back into an APK. The output should look similar to below.
Your modified unsigned APK is now in the /MIUIStats/dist/ folder. Depending if it is a system app or regular app you may have to sign it differently, but that will be for a different tutorial. I hope this helped learning how to translate and modify APKs.
- Korupt Data likes this