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

Gradle Android Studio - java.lang.NoSuchMethodError #7405

Open
sushi2k opened this issue Feb 14, 2025 · 0 comments
Open

Gradle Android Studio - java.lang.NoSuchMethodError #7405

sushi2k opened this issue Feb 14, 2025 · 0 comments
Labels

Comments

@sushi2k
Copy link

sushi2k commented Feb 14, 2025

Describe the bug
A clear and concise description of what the bug is.

Image

Version of dependency-check used
The problem occurs using version 11.1.1 and 12.0.2 of the gradle plugin in Android Studio.

Image

Log file

https://gist.github.com/sushi2k/c968089aa8463c65ddea5181ac497201

To Reproduce
Steps to reproduce the behavior:

Create a new Android App, include id("org.owasp.dependencycheck") version "12.0.2" // into the build.gradle.kts file, build the project and run ./gradlew dependencyCheckAnalyze in the root of the Android project.

I tried it with an existing app, that was using dependency-check 9.0.2 without errors, after upgrading gradle and using the latest dependency check I am getting this error. Same behaviour with a blank Android App that I build from scratch.

Expected behavior
Executing the scan and creating the HTML report.

@sushi2k sushi2k added the bug label Feb 14, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant