How to get source Code(Java and XML) from android APK File

How to get source Code(Java and XML) from android APK File



Learn how to get source code (Java code and XML code) From android APK.
Converts your apk file into source code.
For more visit:

Просмотры: 87316

Рейтинг: 4.50

Скачать

Источник

30 thoughts on “How to get source Code(Java and XML) from android APK File

  1. I got an error with this dex2jar classes.dex and so i research and tried one d2j-dex2jar classes.dex and it worked. 🙂 Uploader, thanks for the this video. You helped me a lot! 😀

  2.  
    Got error like this 😮 🙁
    I: Loading resource table…
    Exception in thread "main" brut.androlib.AndrolibException: Could not decode ars
    c file
            at brut.androlib.res.decoder.ARSCDecoder.decode(ARSCDecoder.java:55)
            at brut.androlib.res.AndrolibResources.getResPackagesFromApk(AndrolibRes
    ources.java:315)
            at brut.androlib.res.AndrolibResources.loadMainPkg(AndrolibResources.jav
    a:50)
            at brut.androlib.res.AndrolibResources.getResTable(AndrolibResources.jav
    a:43)
            at brut.androlib.Androlib.getResTable(Androlib.java:44)
            at brut.androlib.ApkDecoder.getResTable(ApkDecoder.java:148)
            at brut.androlib.ApkDecoder.decode(ApkDecoder.java:98)
            at brut.apktool.Main.cmdDecode(Main.java:120)
            at brut.apktool.Main.main(Main.java:57)
    Caused by: java.io.IOException: Expected: 0x001c0001, got: 0x00000000
            at brut.util.ExtDataInput.skipCheckInt(ExtDataInput.java:48)
            at brut.androlib.res.decoder.StringBlock.read(StringBlock.java:45)
            at brut.androlib.res.decoder.ARSCDecoder.readPackage(ARSCDecoder.java:97
    )
            at brut.androlib.res.decoder.ARSCDecoder.readTable(ARSCDecoder.java:82)
            at brut.androlib.res.decoder.ARSCDecoder.decode(ARSCDecoder.java:48)
            … 8 more

  3. Got error like this 😮 🙁
    I: Loading resource table…
    Exception in thread "main" brut.androlib.AndrolibException: Could not decode ars
    c file
            at brut.androlib.res.decoder.ARSCDecoder.decode(ARSCDecoder.java:55)
            at brut.androlib.res.AndrolibResources.getResPackagesFromApk(AndrolibRes
    ources.java:315)
            at brut.androlib.res.AndrolibResources.loadMainPkg(AndrolibResources.jav
    a:50)
            at brut.androlib.res.AndrolibResources.getResTable(AndrolibResources.jav
    a:43)
            at brut.androlib.Androlib.getResTable(Androlib.java:44)
            at brut.androlib.ApkDecoder.getResTable(ApkDecoder.java:148)
            at brut.androlib.ApkDecoder.decode(ApkDecoder.java:98)
            at brut.apktool.Main.cmdDecode(Main.java:120)
            at brut.apktool.Main.main(Main.java:57)
    Caused by: java.io.IOException: Expected: 0x001c0001, got: 0x00000000
            at brut.util.ExtDataInput.skipCheckInt(ExtDataInput.java:48)
            at brut.androlib.res.decoder.StringBlock.read(StringBlock.java:45)
            at brut.androlib.res.decoder.ARSCDecoder.readPackage(ARSCDecoder.java:97
    )
            at brut.androlib.res.decoder.ARSCDecoder.readTable(ARSCDecoder.java:82)
            at brut.androlib.res.decoder.ARSCDecoder.decode(ARSCDecoder.java:48)
            … 8 more

  4. Hi, thanks to share your ideas, when i'm going to convert dex2jar file it showing this message in command prompt.
     Please tell me to find the solution.

    Error occurred during initialization of VM
    Unable to allocate 35392KB bitmaps for parallel garbage collection for the requested 1132544KB heap.
    Error: Could not create the Java Virtual Machine.
    Error: A fatal exception has occurred. Program will exit.

Leave a Reply

Your email address will not be published. Required fields are marked *