To decompiling and android APK file you require to use a tool name APKTool.
Apktool - A tool for reverse engineering 3rd party, closed, binary Android apps.
To decompile follow these commands:
apktool d <APK Name>
To recompile:
apktool b <APP PATH>
Look at some important switch of this tool:
apktool does not decompile everything is in resources.arsc and AndroidManifest.xml files.apktool does not decompile classes.dex files.