Skip to content
This repository has been archived by the owner on Oct 18, 2024. It is now read-only.

Gradle: Unsupported Method #1921

Open
5 tasks done
thecoderph opened this issue Oct 14, 2024 · 1 comment
Open
5 tasks done

Gradle: Unsupported Method #1921

thecoderph opened this issue Oct 14, 2024 · 1 comment
Labels
bug Something isn't working

Comments

@thecoderph
Copy link

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.
@thecoderph thecoderph added the bug Something isn't working label Oct 14, 2024
@teixeira0x
Copy link
Contributor

to support newer versions of Gradle, you can use the latest version of Actions, this version

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants