How To Get Source Code (JAVA & XML) From An Android APK File


Author: Techies Net - Technology Blog
207051 View
8m 39s Lenght
818 Rating


Did you ever think is it possible to edit an APK file or change the way it works? Or maybe change its design & look? No? The answer is yes, It is possible to break the code. To download the pre-requistics Visit - http://www.cyberfreewishes.com/blog/how-to-get-source-code-java-xml-from-an-android-apk-file Want to develop android App? Check out our pricing on developing android app - http://www.hostchef.in/app-development/android-app-development/



Comments

  1. can you also tell how to import those files in android studio?
  2. Hi all . who can help me. i do everything good lol . but now i can't find a main.xml
  3. C:\Users\Lenovo\Desktop\Newfolder\dex2jar-0.0.9.15' is not recognized as an internal or external command,
    operable program or batch file. plz help
  4. see error screenshot
    http://tinypic.com/r/20tky36/9
  5. Am not lazy but i am a programmer: who will organize all this java classes?
  6. i have finished the decompiling step, actually im new with this stuff,how to i open this decomplied files in Andriod Studio
  7. hi I need help
  8. hey. i want to change systemUI code but not able get resources files. why
  9. So how to import these to Android Studio
  10. thank you my chinese friend
  11. In the end I only got smali folder.please help me.
  12. how to extract manifest file from package apk through coding???
  13. can you import the source code you extracted to andriod studio?
  14. the xml file is not in proper language so how to get in proper language
  15. Hi Friend
    I am getting error when extract code from apk.

    Exception in thread "main" brut.androlib.AndrolibException: Could not decode arsc file at brut.androlib.res.decoder.ARSCDecoder.decode(ARSCDecoder.java:56)
    at brut.androlib.res.AndrolibResources.getResPackagesFromApk(AndrolibResources.java:491)
    at brut.androlib.res.AndrolibResources.loadMainPkg(AndrolibResources.java:74)
    at brut.androlib.res.AndrolibResources.getResTable(AndrolibResources.java:66) at brut.androlib.Androlib.getResTable(Androlib.java:50)
    at brut.androlib.ApkDecoder.getResTable(ApkDecoder.java:189)
    at brut.androlib.ApkDecoder.decode(ApkDecoder.java:114) at brut.apktool.Main.cmdDecode(Main.java:146)
    at brut.apktool.Main.main(Main.java:77)
    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:44)
    at brut.androlib.res.decoder.ARSCDecoder.readPackage(ARSCDecoder.java:102)
    at brut.androlib.res.decoder.ARSCDecoder.readTable(ARSCDecoder.java:83)
    at brut.androlib.res.decoder.ARSCDecoder.decode(ARSCDecoder.java:49)
    ... 8 more
  16. Eneettu poda myre
  17. Wow nice😁, I will try clash of clan to decode..hehe
  18. android studio build errors for decompile application
  19. Thanks sir for this information, I try all this stuff and it's work with me :D
  20. Nice Job!!