Decompile, Edit, and Recompile Android Apps with APK Studio

If you have ever tried to modify precompiled android application, then you might be familiar with APKTool. APKTool is one of the most commonly used application to decompile and recompile android apk.

But there is a drawback with this APKTool. You can only decompile or recompile your apk, but you cannot edit the content, more specifically the source code. Generally the whole source code is compiled in .smali files and to edit that files you have to rely on some other compiler, decompiler and editor like Notepad++.

To combine all this things together and to make development easy, an XDA user, Vaibhav, created APK Studio.

APK Studio
APK Studio

As the name suggest, the APK Studio allows you to decompile, edit and recompile apk files right from one single app. This IDE looks quite similar to Netbeans IDE and has a lot of features to explore.

You can download this IDE from codeplex or XDA.

(Image credit: XDA)

11 thoughts on “Decompile, Edit, and Recompile Android Apps with APK Studio”

  1. not working ..recompile.. error

    I: Using Apktool 2.0.2
    I: Smaling smali folder into classes.dex…
    Exception in thread “main” java.lang.OutOfMemoryError: Java heap space
    at java.util.AbstractList.listIterator(Unknown Source)
    at java.util.AbstractList.listIterator(Unknown Source)
    at java.util.AbstractList.equals(Unknown Source)
    at org.jf.util.CharSequenceUtils.listEquals(
    at org.jf.dexlib2.base.reference.BaseMethodReference.equals(
    at java.util.concurrent.ConcurrentHashMap.get(Unknown Source)
    at org.jf.dexlib2.writer.builder.BuilderMethodPool.internMethod(
    at org.jf.dexlib2.writer.builder.DexBuilder.internMethodReference(
    at org.jf.smali.smaliTreeWalker.insn_format35c_method(
    at org.jf.smali.smaliTreeWalker.instruction(
    at org.jf.smali.smaliTreeWalker.ordered_method_items(
    at org.jf.smali.smaliTreeWalker.method(
    at org.jf.smali.smaliTreeWalker.methods(
    at org.jf.smali.smaliTreeWalker.smali_file(
    at brut.androlib.mod.SmaliMod.assembleSmaliFile(
    at brut.androlib.src.SmaliBuilder.buildFile(
    at brut.androlib.Androlib.buildSourcesSmali(
    at brut.androlib.Androlib.buildSources(
    at brut.apktool.Main.cmdBuild(
    at brut.apktool.Main.main(
    Process exited with code 1

    plzzz help

  2. I: Loading resource table…

    Exception in thread “main” brut.androlib.AndrolibException: Could not decode arsc file

    at brut.androlib.res.decoder.ARSCDecoder.decode(

    at brut.androlib.res.AndrolibResources.getResPackagesFromApk(

    at brut.androlib.res.AndrolibResources.loadMainPkg(

    at brut.androlib.res.AndrolibResources.getResTable(

    at brut.androlib.Androlib.getResTable(

    at brut.androlib.ApkDecoder.decode(

    at brut.apktool.Main.cmdDecode(

    at brut.apktool.Main.main(

    Caused by: Expected: 0x001c0001, got: 0x00000000

    at brut.util.ExtDataInput.skipCheckInt(


    at brut.androlib.res.decoder.ARSCDecoder.readPackage(

    at brut.androlib.res.decoder.ARSCDecoder.readTable(

    at brut.androlib.res.decoder.ARSCDecoder.decode(

    … 7 more

    1. Hello i get email and follow but cant get help from you.
      brother give me a apk studio recompile version because new version only ready!………….

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.