identity-samples icon indicating copy to clipboard operation
identity-samples copied to clipboard

Please update Gradle and Android Gradle plugin

Open mimi89999 opened this issue 1 year ago • 1 comments

I'm getting the following warnings and errors:

Welcome to Gradle 8.1!

Here are the highlights of this release:
 - Stable configuration cache
 - Experimental Kotlin DSL assignment syntax
 - Building with Java 20

For more details see https://docs.gradle.org/8.1/release-notes.html

Starting a Gradle Daemon (subsequent builds will be faster)
WARNING: We recommend using a newer Android Gradle plugin to use compileSdkPreview = "VanillaIceCream"

This Android Gradle plugin (8.1.0) was tested up to compileSdk = 33 (and compileSdkPreview = "UpsideDownCakePrivacySandbox").

You are strongly encouraged to update your project to use a newer
(stable or preview) Android Gradle plugin that has been tested with compileSdkPreview = "VanillaIceCream".

If you are already using the latest preview version of the Android Gradle plugin,
you may need to wait until a newer version with support for compileSdkPreview = "VanillaIceCream" is available.

To suppress this warning, add/update
    android.suppressUnsupportedCompileSdk=VanillaIceCream
to this project's gradle.properties.
This version only understands SDK XML versions up to 3 but an SDK XML file of version 4 was encountered. This can happen if you use versions of Android Studio and the command-line tools that were released at different times.
Errors during XML parse:
Additionally, the fallback loader failed to parse the XML.
Errors during XML parse:
Additionally, the fallback loader failed to parse the XML.

mimi89999 avatar Jan 19 '25 13:01 mimi89999

Updating the Gradle wrapper will update gradle-wrapper.jar and gradlew. I could contribute the change, but I believe that it's better if it's done by a Google contributor.

mimi89999 avatar Jan 19 '25 13:01 mimi89999

This was probably addressed in https://github.com/android/identity-samples/pull/131

cy245 avatar Jun 02 '25 20:06 cy245