Error in compiling Sonar qube in android kotlin project

Hello ,
I am working in android kotlin project , in this project i have integrate sonar qube.
But i am facing some issue during generating report from android studio with command
“gradle sonarqube”

Please check following error and give as soon as solution:

Task :app:sonarqube FAILED

FAILURE: Build failed with an exception.

* What went wrong:
Execution failed for task ':app:sonarqube'.
> java.security.KeyStoreException: problem accessing trust store

* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights.

* Get more help at https://help.gradle.org

Deprecated Gradle features were used in this build, making it incompatible with Gradle 8.0.

You can use '--warning-mode all' to show the individual deprecation warnings and determine if they come from your own scripts or plugins.

See https://docs.gradle.org/7.2/userguide/command_line_interface.html#sec:command_line_warnings

BUILD FAILED in 1s
34 actionable tasks: 1 executed, 33 up-to-date
1 Like

I am also facing the same issue but didn’t get any solution yet

Hi @Mary_21 & @Pooja_Khambhayta,

Welcome to the community!

I googled the error & found this SO answer. Maybe it will help:

 
HTH,
Ann

Sorry but it didnt help us :frowning: @ganncamp

Task :sonarqube FAILED

FAILURE: Build failed with an exception.

* What went wrong:
Execution failed for task ':sonarqube'.
> java.security.KeyStoreException: problem accessing trust store

* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights.

* Get more help at https://help.gradle.org

Deprecated Gradle features were used in this build, making it incompatible with Gradle 8.0.

You can use '--warning-mode all' to show the individual deprecation warnings and determine if they come from your own scripts or plugins.

See https://docs.gradle.org/7.2/userguide/command_line_interface.html#sec:command_line_warnings

BUILD FAILED in 1m 2s
34 actionable tasks: 34 executed

new help please solve my issue @ganncamp