Skip to content

How can I make the sample build? (Windows 10, Gradle 8.7, JDK 17) #53

@jfranciscon

Description

@jfranciscon

Hi! Thanks for the project.

I can’t get the sample app to compile on a clean clone on Windows 10. The build ends with a deprecation notice and then fails.

Steps to reproduce
Clone repo

Open in Android Studio or run:

bash
Copiar
Editar
./gradlew clean assembleDebug --warning-mode all
What I expected
The sample to build.

What I got (last lines)
Deprecated Gradle features were used in this build, making it incompatible with Gradle 9.0.
You can use '--warning-mode all' to show the individual deprecation warnings...
BUILD FAILED in 1m 23s
22 actionable tasks: 22 executed

My environment
OS: Windows 10

Gradle: 8.7

JDK: 17

Android Studio / AGP:

Questions (how can I resolve this?)
Supported toolchain: Which Android Studio, AGP, Gradle, and JDK versions are known to compile this project today?

Gradle wrapper: Should I use a specific Gradle wrapper version included/expected by the project (and not Gradle 8.7)? If yes, could you share/commit the expected wrapper version?

Repositories: Does the build still rely on JCenter/Bintray artifacts? If so, what are the Maven Central or JitPack replacements (group/artifact/version) I should switch to?

Migration tips: If the failure is due to AGP/Gradle deprecations, is there a minimal set of changes (plugin versions or build script tweaks) you recommend to get the sample compiling on JDK 17?

Known working commit/branch: Is there a specific commit/branch I can checkout that currently builds?

I’m happy to try a PR after your guidance (e.g., update repositories, pin Gradle/AGP, or adjust build scripts).
If helpful, I can attach a full log with --stacktrace --info.

Thanks in advance!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions