Max Douglas
07/02/2025, 6:17 PMPhilip W
07/02/2025, 6:23 PMPhilip W
07/02/2025, 6:24 PMMax Douglas
07/02/2025, 6:27 PMMax Douglas
07/02/2025, 6:27 PMYour build is currently configured to use incompatible Java 21.0.6 and Gradle 7.5.1. Cannot sync the project.
We recommend upgrading to Gradle version 9.0-milestone-1.
The minimum compatible Gradle version is 8.5.
The maximum compatible Gradle JVM version is 18.
Possible solutions:
- Upgrade to Gradle 9.0-milestone-1 and re-sync
- Upgrade to Gradle 8.5 and re-sync
Vampire
07/02/2025, 6:36 PMMax Douglas
07/02/2025, 6:38 PMVampire
07/02/2025, 6:39 PMMax Douglas
07/02/2025, 6:40 PMVampire
07/02/2025, 10:12 PMVampire
07/02/2025, 10:13 PMMax Douglas
07/02/2025, 10:18 PMVampire
07/02/2025, 10:19 PMVampire
07/02/2025, 10:19 PMMax Douglas
07/02/2025, 10:22 PMMax Douglas
07/02/2025, 10:22 PMVampire
07/02/2025, 10:23 PMMax Douglas
07/02/2025, 10:26 PMsun.jvm.hotspot.runtime.VM.saBuildVersion=21.0.6+-13391695-b895.109
I found this line in sa.properties, which I don't think I'm supposed to edit manually. What's the best practise for updating my java version?Max Douglas
07/02/2025, 10:27 PMVampire
07/02/2025, 10:33 PMsa.properties
should be.
How you control the Java version you run Gradle with depends on how you run Gradle.
From commandline it is what you configured in JAVA_HOME
or if nothing then what is found in PATH
.
For IJ or AS it is what you configured in its Gradle settings.
...Vampire
07/02/2025, 10:34 PMMax Douglas
07/02/2025, 10:36 PMVampire
07/02/2025, 10:37 PMMax Douglas
07/02/2025, 10:37 PMMax Douglas
07/02/2025, 10:39 PMRoldan Galan
07/03/2025, 2:08 PMMax Douglas
07/03/2025, 5:58 PMA problem occurred configuring project ':extension-localization'.
> org.codehaus.groovy.runtime.metaclass.MissingMethodExecutionFailed: No signature of method: org.gradle.api.reporting.internal.DefaultSingleFileReport.enabled() is applicable for argument types: (Boolean) values: [true]
I think the issue is with a library used in the project. I think this is used in mapbox (which I'm using).Vampire
07/03/2025, 8:01 PM--stacktrace
or --scan
and you don't need to guess where the problem is coming from.Vampire
07/03/2025, 8:02 PMenabled
on a report which in the meantime is required
.Vampire
07/03/2025, 8:04 PMRoldan Galan
07/03/2025, 8:04 PMVampire
07/03/2025, 8:04 PMMax Douglas
07/03/2025, 8:26 PMinclude(
":app",
":extension-style",
":extension-style-lint-rules",
":extension-localization"
...
)
There's no field to include a version number. I don't suppose there's a "update all packages to latest" command?Vampire
07/03/2025, 8:27 PMI ran with --scan and I get the same error.Of course you do, would be tragic if not. Now open the Build Scan URL or share it, then you can look at the full stacktrace.
Vampire
07/03/2025, 8:30 PMVampire
07/03/2025, 8:30 PMVampire
07/03/2025, 8:30 PMVampire
07/03/2025, 8:31 PMVampire
07/03/2025, 8:31 PMextension-localization/build.gradle.kts
and change the illegal enabled
usage on the reportVampire
07/03/2025, 8:32 PMMax Douglas
07/03/2025, 8:32 PMVampire
07/03/2025, 8:33 PMVampire
07/03/2025, 8:33 PMMax Douglas
07/03/2025, 8:33 PMMax Douglas
07/03/2025, 8:34 PM[Incubating] Problems report is available at: file:///home/*/build/reports/problems/problems-report.html
Vampire
07/03/2025, 8:35 PMVampire
07/03/2025, 8:35 PMVampire
07/03/2025, 8:35 PMMax Douglas
07/03/2025, 8:36 PMVampire
07/03/2025, 8:37 PM--scan
it is one of the last lines, just lookMax Douglas
07/03/2025, 8:38 PMCONFIGURE FAILED in 2s
This is the last line. The sync is still running 10 minutes later despite not making any progressVampire
07/03/2025, 8:39 PMVampire
07/03/2025, 8:39 PM--stacktrace
as suggested above to at least get the stacktrace.Vampire
07/03/2025, 8:40 PM