AndroidIDE icon indicating copy to clipboard operation
AndroidIDE copied to clipboard

Gradle: Unsupported Method

Open thecoderph opened this issue 1 year ago • 1 comments

Issue Checklist

  • [X] I confirm that this issue is not a duplicate and hasn't been reported before.
  • [X] I agree to follow the project's code of conduct.
  • [X] I have checked and verified that I am using the latest version of AndroidIDE from GitHub or F-Droid.

Additional terms

  • [X] I understand that providing incomplete or inaccurate information may result in the issue being closed.
  • [X] 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 : 55bb46b31 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 avatar Oct 14 '24 04:10 thecoderph

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

teixeira0x avatar Oct 14 '24 10:10 teixeira0x