Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Jadx library is not working #2294

Closed
Lohita9 opened this issue Oct 7, 2024 · 4 comments
Closed

Jadx library is not working #2294

Lohita9 opened this issue Oct 7, 2024 · 4 comments
Milestone

Comments

@Lohita9
Copy link

Lohita9 commented Oct 7, 2024

Issue details

I tried using the latest unstable version of the Jadx library for Android, but it doesn't seem to be working. Please download the debug APK, install it on your phone, open it, click the 'Crash' button, and wait for about a minute. After that, check the classes.dex file, which should be decompiled in the /Android/data/lo.seghra.plus/files directory (the output directory I specified in the code). However, the file is not saved in that location, and I believe the library failed to decompile the classes.dex file.

Relevant log output or stacktrace

No response

Provide sample and class/method full name

my-debug.zip

Jadx version

latest unstable version

@Lohita9 Lohita9 added bug Core Issues in jadx-core module labels Oct 7, 2024
@Lohita9
Copy link
Author

Lohita9 commented Oct 7, 2024

@skylot @jpstotz , I tried using the wiki for the jadx library for Android, but it's not working. Could you share a complete Android Studio project that can decompile a DEX file into Java code?

@jpstotz
Copy link
Collaborator

jpstotz commented Oct 7, 2024

@Lohita9 As mentioned in #2291 Jadx doesn't work on Android at the moment and the configuration option to bypass this problem also doesn't work on Android.

@Lohita9
Copy link
Author

Lohita9 commented Oct 7, 2024

Is there currently a fix for this issue?

@skylot
Copy link
Owner

skylot commented Oct 13, 2024

@Lohita9 I fixed #2291 and also created an example Android app with jadx lib usage, check https://github.com/jadx-decompiler/jadx-lib-android-example repo. Main jadx usage code can be found here.

@skylot skylot closed this as completed Oct 13, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants