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

Upgrade to latest gradle version #125

Closed
blue492 opened this issue Jul 17, 2024 · 1 comment
Closed

Upgrade to latest gradle version #125

blue492 opened this issue Jul 17, 2024 · 1 comment

Comments

@blue492
Copy link

blue492 commented Jul 17, 2024

I got errors when I upgraded to latest gradle version in this path android/gradle/wrapper/gradle-wrapper.properties

distributionUrl=https\://services.gradle.org/distributions/gradle-8.8-all.zip

I couldn't run my app and here are errors:

Note: Some input files use or override a deprecated API.
Note: Recompile with -Xlint:deprecation for details.
Note: Some input files use unchecked or unsafe operations.
Note: Recompile with -Xlint:unchecked for details.
Note: Some input files use or override a deprecated API.
Note: Recompile with -Xlint:deprecation for details.

FAILURE: Build failed with an exception.

* What went wrong:
Execution failed for task ':search_choices:compileDebugKotlin'.
> Inconsistent JVM-target compatibility detected for tasks 'compileDebugJavaWithJavac' (1.8) and 'compileDebugKotlin' (17).

  Consider using JVM Toolchain: https://kotl.in/gradle/jvm/toolchain
  Learn more about JVM-target validation: https://kotl.in/gradle/jvm/target-validation 

* 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.

BUILD FAILED in 1m 22s
Error: Gradle task assembleDebug failed with exit code 1

Right now this 7.6 works: distributionUrl=https\://services.gradle.org/distributions/gradle-7.6-all.zip

Please support latest gradle versions too
https://gradle.org/releases/

@blue492 blue492 changed the title Upgrade to latest gradle Upgrade to latest gradle version Jul 17, 2024
@snmeric snmeric mentioned this issue Sep 13, 2024
@lcuis
Copy link
Owner

lcuis commented Sep 16, 2024

Hi @blue492 ,

Sorry for the delay.

I believe release 2.2.8 and 2.2.9 will address this issue. If not, please reopen. Thanks!

@lcuis lcuis closed this as completed Sep 16, 2024
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

2 participants