Gradle: Unsupported Method #1921
Description
Issue Checklist
- I confirm that this issue is not a duplicate and hasn't been reported before.
- I agree to follow the project's code of conduct.
- I have checked and verified that I am using the latest version of AndroidIDE from GitHub or F-Droid.
Additional terms
- I understand that providing incomplete or inaccurate information may result in the issue being closed.
- I agree to provide all requested details promptly for a comprehensive bug report.
Issue explanation
Unsupported method: ModelBuilderParameter.getDontBuildHostTestRuntimeClasspath().
The version of Gradle you connect to does not support that method.
To resolve the problem you can change/upgrade the target version of Gradle you connect to.
Alternatively, you can ignore this exception and read other information from the model.
The message above is about to newer version of Gradle, in my project I tried to update from 8.1.1 (default) to 8.9+ version and that I got.
Expected behavior
Supposed to support newer version of Gradle, e.g 8.9+ and above.
Version name
Version : v2.7.1-beta (27102)
CI Build : true
Branch : main
Commit : 55bb46b
Variant : arm64-v8a (release)
Build type : OFFICIAL
F-Droid Build : false
F-Droid Version : null
F-Droid Version code : -1
SDK Version : 34
Supported ABIs : [arm64-v8a, armeabi-v7a, armeabi]
Manufacturer : samsung
Device : SM-A156E
Download source
GitHub
Relevant log output
Unsupported method: ModelBuilderParameter.getDontBuildHostTestRuntimeClasspath().
The version of Gradle you connect to does not support that method.
To resolve the problem you can change/upgrade the target version of Gradle you connect to.
Alternatively, you can ignore this exception and read other information from the model.