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

java.lang.NumberFormatException: For input string: "" #2423

Open
FaqZul opened this issue Mar 3, 2025 · 1 comment
Open

java.lang.NumberFormatException: For input string: "" #2423

FaqZul opened this issue Mar 3, 2025 · 1 comment

Comments

@FaqZul
Copy link

FaqZul commented Mar 3, 2025

Please describe what you did before the error occurred.
IMPORTANT! If the error occurs with a specific APK file please attach or provide link to apk file!

  • Jadx version: 1.5.1
  • Java version: 11.0.26
  • Java VM: Eclipse Adoptium OpenJDK 64-Bit Server VM
  • Platform: Windows 11 (10.0 amd64)
  • Max heap size: 10942 MB
  • Program args: -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 -Dsun.java2d.noddraw=true -Dsun.java2d.d3d=false -Dsun.java2d.ddforcevram=true -Dsun.java2d.ddblit=false -Dswing.useflipBufferStrategy=True
java.lang.NumberFormatException: For input string: ""
	at java.base/java.lang.NumberFormatException.forInputString(NumberFormatException.java:65)
	at java.base/java.lang.Integer.parseInt(Integer.java:662)
	at java.base/java.lang.Integer.valueOf(Integer.java:983)
	at jadx.core.utils.android.AndroidManifestParser.parseAttributes(AndroidManifestParser.java:76)
	at jadx.core.utils.android.AndroidManifestParser.parse(AndroidManifestParser.java:57)
	at jadx.core.export.ExportGradleProject.getApplicationParams(ExportGradleProject.java:100)
	at jadx.core.export.ExportGradleProject.<init>(ExportGradleProject.java:30)
	at jadx.core.export.ExportGradleTask.run(ExportGradleTask.java:59)
	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:1128)
	at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)
	at java.base/java.lang.Thread.run(Thread.java:829)

@jpstotz
Copy link
Collaborator

jpstotz commented Mar 3, 2025

Can you please provide the APK file, because otherwise it is next to impossible to understand if the APK really has an empty minSdkVersion attribute or if there is a problem decoding the AndroidManifest.xml from it's binary XML format.

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

2 participants