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

Could not determine java version from '17.0.6'. #403

Open
vaibhavc418 opened this issue May 22, 2023 · 0 comments
Open

Could not determine java version from '17.0.6'. #403

vaibhavc418 opened this issue May 22, 2023 · 0 comments

Comments

@vaibhavc418
Copy link

vaibhavc418 commented May 22, 2023

Running scans...
Finish scans...
Writing report...
Finish writing report to /home/user/.local/lib/python2.7/site-packages/qark/report/report.html ...
Building exploit APK...
Picked up _JAVA_OPTIONS: -Dawt.useSystemAAFontSettings=on -Dswing.aatext=true

FAILURE: Build failed with an exception.

  • What went wrong:
    Could not determine java version from '17.0.6'.

  • Try:
    Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output.
    Finish building exploit APK...

basic info: system gradle version - 8.1.1
Things I tried but still facing same error:

  1. changed system gradle version from 8.1.1 to 5.1.1 (Android/Sdk/gradle/wrapper/gradle-wrapper.properties gradle mentioned version is 5.1.1)
  2. changed java version from 17 to 11
@vaibhavc418 vaibhavc418 changed the title Please provide path to android SDK if building exploit APK. Could not determine java version from '17.0.6'. May 29, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant