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

This error occurred when I was converting the source code of the app into a gradle project. #2179

Closed
1 of 3 tasks
MohitKashyapUK opened this issue May 9, 2024 · 7 comments
Labels
bug GUI Issues in jadx-gui module

Comments

@MohitKashyapUK
Copy link

Issue details

Jadx version : 1.5.0
Java version : 22.0.1
Java VM : Oracle Corporation Java HotSpot(TM) 64-Bit Server VM
Platform : Windows 10 (10.0 amd64)
Max heap size: 4096 MB
Program args : -Xms216m -Xmx4096m -Xms128M -XX:MaxRAMPercentage=70.0 -Dawt.useSystemAAFontSettings=lcd -Dswing.aatext=true -Djava.util.Arrays.useLegacyMergeSort=true -Djdk.util.zip.disableZip64ExtraFieldValidation=true -XX:+IgnoreUnrecognizedVMOptions --add-opens=java.base/java.lang=ALL-UNNAMED

java.lang.IllegalStateException: Could not find AndroidManifest.xml
at jadx.core.export.ExportGradleTask.run(ExportGradleTask.java:40)
at jadx.core.utils.tasks.TaskExecutor.wrapTask(TaskExecutor.java:166)
at jadx.core.utils.tasks.TaskExecutor.runStages(TaskExecutor.java:142)
at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1144)
at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:642)
at java.base/java.lang.Thread.run(Thread.java:1570)

Jadx version

1.5.0

Java version

22

OS

  • Windows
  • Linux
  • macOS
@MohitKashyapUK MohitKashyapUK added bug GUI Issues in jadx-gui module labels May 9, 2024
@MohitKashyapUK
Copy link
Author

GUI Version

@jpstotz
Copy link
Collaborator

jpstotz commented May 9, 2024

Can you provide the app you had loaded or at least tell us if you had loaded one APK file, or multiple APK files (split APK app)?

@MohitKashyapUK
Copy link
Author

"https://github.com/MohitKashyapUK/android_app_boilerplate.git"

GUI Version without JRE
Installed JRE version "22"

Can you provide the app you had loaded or at least tell us if you had loaded one APK file, or multiple APK files (split APK app)?

@jpstotz
Copy link
Collaborator

jpstotz commented May 10, 2024

Does that mean you had compiled that Android project, then loaded the APK into Jadx-GUI and finally used the "Save as gradle project" which triggered the error you have posted?

@MohitKashyapUK
Copy link
Author

Does that mean you had compiled that Android project, then loaded the APK into Jadx-GUI and finally used the "Save as gradle project" which triggered the error you have posted?

No, I just pasted the source code into jadx.

@jpstotz
Copy link
Collaborator

jpstotz commented May 11, 2024

Jadx is a decompiler. Loading source code instead of binary APKs or JAR files into it is in my opinion a bit out of scope. Therefore you are getting this error.

@MohitKashyapUK
Copy link
Author

MohitKashyapUK commented May 11, 2024

Jadx is a decompiler. Loading source code instead of binary APKs or JAR files into it is in my opinion a bit out of scope. Therefore you are getting this error.

Alright, but if you had also added this feature, it would have been better.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug GUI Issues in jadx-gui module
Projects
None yet
Development

No branches or pull requests

2 participants