Questions tagged [dex2jar]

Dex2jar is a set of tools to work with Android .dex and java .class files.

Tools to work with Android .dex and java .class files

  • dex-reader/writer: Read/write the Dalvik Executable (.dex) file. It has a light weight API similar with ASM.
  • d2j-dex2jar: Convert .dex file to .class files (zipped as jar).
  • smali/baksmali: disassemble dex to smali files and assemble dex from smali files. Different implementation to smali/baksmali, same syntax, but with support to escape in type desc "Lcom/dex2jar\t\u1234;"
  • other tools: d2j-decrypt-string

Official website

dex2jar

52 questions
0
votes
1 answer

Unreachable statement from the Decompiler output

I decompiled an APK file, then tried to compile it and received an "Unreachable statement" compiler error, I want to know is it a obfuscator trick, or decompiler failure? How is it possible? Used dex2jar and Java Decompiler And here is the…
mes
  • 3,581
  • 29
  • 28
0
votes
1 answer

Source code from Apk using dex2jar getting error in command prompt

I have to extract source code from APK file. I had rename the apk file to zip file and use the command for dex2jar classes.dex to convert .dex file to jar. But in command prompt getting error like: dex2jar is not an interanl or external…
prakash
  • 109
  • 12
0
votes
0 answers

Extracted Apk file shows Internal error when opened the java file

I have Extracted the apk file using dex2jar,when i opened the java source files in the jd-gui (java decompiler) it's showing Internal Error.How to fix this issue.
Girish
  • 21
  • 7
0
votes
1 answer

is it possible to compile android .java source files produced jd-gui

I want to change some lines in smali file. I converted android's classes.dex to classes.jar by using dex2jar. then used jd-gui to see source files and saved them . from this I got .java files . after editing I want to recompile them to see the…
Arun_005
  • 11
  • 3
0
votes
1 answer

Recompile system app

Because I'm creating a custom ROM I want to remove some entries from the settings.apk Because there is no way to hide a preference with XML I have to change the source code from the apk and have to delete the preference from the PreferenceScreen. So…
Cilenco
  • 6,951
  • 17
  • 72
  • 152
-1
votes
1 answer

an issue about extract source code of an apk

Hello I lost my last backup of my project and there is just installed the app on my phone so I need to rescue my codes. I searched dex2jar,apktools etc but they did not work. In my apk there is 6 dex class so I can not reach my code
-5
votes
2 answers

Decoding APK Files in android

I tried to decode a published application from Google Play with its apk file by using dex2jar and apktool. I successfully manage to get its source code however, I am wondering why the hell I got this sets of codes(attached image)? I could not…
androidBoomer
  • 3,357
  • 6
  • 32
  • 42
1 2 3
4