Search code examples
javaandroiddecompiler

Problem when getting source code from .apk file?


As per this link. I can go first two steps but, i can't get souce code using this Java Decompiler. If anyone having good dj java decompiler then send it to me. And, also i need some good apktool v1.x AND apktool for getting xml files. Thanks in Advance.


Solution

  • 1) You should use two method for getting source code from .apk files? And, download apktool and jdgui application to do below steps :

     * `apktool d filename.apk` it'll get the res and manifest file.
    
     * `dex2jar filename.apk` it'll get the source code of that apk file. 
    
     * Then, you should use jdgui for saving the source code. 
    

    Please follow these steps to get the source code. Hope this will helpful.