Code Monkey home page Code Monkey logo

Comments (1)

ThexXTURBOXx avatar ThexXTURBOXx commented on August 30, 2024

If you are getting a corrupt jar file (in the sense that you cannot even unzip it), it is a bug and you should report it properly by giving as much information as possible.

However, I think that you rather mean that the jar file contains code that cannot be executed without further modification.
About that: There is no perfect way to convert Dalvik bytecode to Java bytecode. In fact, there cannot be (as already discussed multiple times across this issues section and the upstream issues section).
Dex2jar is rather a proof-of-concept next to other similar projects such as JADX and Col-E's dex-translator.
Some of these projects might work better than others for different apk/dex files.
Hence, by asking "what is the purpose of dex2jar?" you are really asking "why do I want to convert an apk/dex file into another, better readable format?"

Basically, as already said, perfect conversion is not possible - but most of the things you see inside the converted jar file provide most likely a good starting point for reverse-engineering APKs.
I have also seen some projects that use dex2jar to convert apk/dex files to jar files, patch them (in order to add some new features or something) and convert them back to apk/dex files which can then be installed on Android devices.

I will close this issue as "completed", because I think I have explained everything I can/want. If you have further questions, feel free to state them here. For reporting issues, please create an issue and provide the appropriate information.

from dex2jar.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    πŸ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. πŸ“ŠπŸ“ˆπŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❀️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.