Status Update
Comments
da...@gmail.com <da...@gmail.com> #2
Thank you for your patience while our engineering team worked to resolve this issue. A fix for this issue is now available in:
- Android Studio Ladybug Feature Drop | 2024.2.2 Canary 3
- Android Gradle Plugin 8.8.0-alpha03
We encourage you to try the latest update.
If you notice further issues or have questions, please file a new bug report.
Thank you for taking the time to submit feedback — we really appreciate it!
ar...@google.com <ar...@google.com>
je...@google.com <je...@google.com> #3
you are using a very old version of AGP and Gradle (2020), you should upgrade to a more recent version.
l8...@gmail.com <l8...@gmail.com> #4
xo...@google.com <xo...@google.com> #5
There's got to be more to it than just the versions of Gradle and AGP, because they are within the range that we should work with (even if we don't recommend it). Can I confirm that you got the versions of Gradle and AGP mixed up in your original report (i.e. I presume that you have com.android.tools.build:gradle
version 4.0.1, and Gradle the build tool version 6.1.1?
Can you share more details about the project? Are you applying any other plugins? Does using an older version of android Studio (say, Ladybug Feature Drop) work with this project? What is the latest version of Android Studio that builds the project without error? What versions of Android Studio are your colleagues using (if any)?
l8...@gmail.com <l8...@gmail.com> #6
#Wed Jun 02 13:50:53 CST 2021
distributionBase=GRADLE_USER_HOME
distributionPath=wrapper/dists
zipStoreBase=GRADLE_USER_HOME
zipStorePath=wrapper/dists
distributionUrl=https\://
AGP:
dependencies {
classpath "com.android.tools.build:gradle:4.0.1"
// NOTE: Do not place your application dependencies here; they belong
// in the individual module build.gradle files
}
the latest version of Android Studio that builds the project without error:
Android Studio Ladybug | 2024.2.1 Patch 2
Build #AI-242.23339.11.2421.12550806, built on October 25, 2024
Runtime version: 21.0.3+-12282718-b509.11 amd64
VM: OpenJDK 64-Bit Server VM by JetBrains s.r.o.
Toolkit: sun.awt.windows.WToolkit
Windows 10.0
GC: G1 Young Generation, G1 Concurrent GC, G1 Old Generation
Memory: 4096M
Cores: 8
Registry:
ide.experimental.ui=true
i18n.locale=
ide.images.show.chessboard=true
terminal.new.ui=true
Non-Bundled Plugins:
com.github.copilot (1.5.32-242)
com.urswolfer.intellij.plugin.gerrit (1.3.1-203)
They are all lower than the Android Studio Ladybug | 2024.2.1 Patch 2 version.
xo...@google.com <xo...@google.com> #7
Thanks. As a workaround, could you try changing the version of Gradle used in the project from 6.1.1 to 6.2: change the distributionUrl
line in gradle-wrapper.properties
to
distributionUrl=https\://services.gradle.org/distributions/gradle-6.2-bin.zip
I think I know what's causing the immediate problem, but I'd like to verify that there aren't other issues lurking with your project.
l8...@gmail.com <l8...@gmail.com> #8
distributionUrl=https\://
but as I mentioned before, I cannot arbitrarily change the version number. Would you like me to provide logs and other relevant information?
xo...@google.com <xo...@google.com> #9
That's great to hear, thanks -- it suggests that I've found the cause. I'm going to submit a fix for this into our development versions of Android Studio, and I'll see if I can get a fix into a patch release of Ladybug Feature Drop.
l8...@gmail.com <l8...@gmail.com> #10
xo...@google.com <xo...@google.com> #11
I've submitted fixes for this in all the available branches. It should already be fixed in Meerkat Feature Drop nightly builds, in case you want to try the very tip of development; otherwise, it should be available in the forthcoming releases:
- Canary channel: Meerkat Feature Drop Canary 5
- Beta channel: Meerkat Release Candidate 2
- Stable channel: Ladybug Feature Drop Patch 2
Thank you once again for the report.
an...@google.com <an...@google.com> #12
Thank you for your patience while our engineering team worked to resolve this issue. A fix for this issue is now available in:
- Android Studio Meerkat Feature Drop | 2024.3.2 Canary 5
- Android Gradle Plugin 8.10.0-alpha05
We encourage you to try the latest update.
If you notice further issues or have questions, please file a new bug report.
Thank you for taking the time to submit feedback — we really appreciate it!
an...@google.com <an...@google.com> #13
The fixes for this issue are now also available in:
- Android Studio Meerkat | 2024.3.1 RC 2
- Android Gradle Plugin 8.9.0-rc02
We encourage you to try the latest update.
If you notice further issues or have questions, please file a new bug report.
ch...@gmail.com <ch...@gmail.com> #14
Gelodichkhaidze
an...@google.com <an...@google.com> #15
Further fixes for this issue are now available in:
- Android Studio Meerkat Feature Drop | 2024.3.2 Canary 6
- Android Gradle Plugin 8.10.0-alpha06
We encourage you to try the latest update.
If you notice further issues or have questions, please file a new bug report.
an...@google.com <an...@google.com> #16
The fixes for this issue are now also available in:
- Android Studio Ladybug Feature Drop | 2024.2.2 Patch 2
- Android Gradle Plugin 8.8.2
We encourage you to try the latest update.
If you notice further issues or have questions, please file a new bug report.
Description
No signature of method: org.gradle.api.internal.provider.DefaultProviderFactory.gradleProperty() is applicable for argument types: (String) values: [com.android.tools.utp.GradleAndroidProjectResolverExtension.enable]
Possible solutions: hasProperty(java.lang.String)
Studio Build:Meerkat | 2024.3.1 Beta 1
Version of Gradle Plugin:6.1.1
Version of Gradle:4.0.1
Version of Java:1.8
OS:window 10