Jetpack-Compose-Tutorials icon indicating copy to clipboard operation
Jetpack-Compose-Tutorials copied to clipboard

How to build this project?

Open Matej-Chmel opened this issue 1 year ago โ€ข 0 comments

When I try to complete a Gradle Sync in Android Studio, the sync fails with this error:

* Where:
Build file 'Jetpack-Compose-Tutorials\Tutorial1-1Basics\build.gradle.kts' line: 1

* What went wrong:
An exception occurred applying plugin request [id: 'com.android.application', version: '8.5.2']
> Failed to apply plugin 'com.android.internal.version-check'.
   > Minimum supported Gradle version is 8.7. Current version is 8.5. If using the gradle wrapper, try editing the distributionUrl in Jetpack-Compose-Tutorials\gradle\wrapper\gradle-wrapper.properties to gradle-8.7-all.zip

I thought that changing the distributionUrl would fix the issue but there is no folder gradle\wrapper.

I am using the latest Android Studio version:

Android Studio Koala | 2024.1.1 Patch 2
Build #AI-241.18034.62.2411.12169540, built on August 1, 2024
Runtime version: 17.0.11+0--11852314 amd64
VM: OpenJDK 64-Bit Server VM by JetBrains s.r.o.

Please, give me some guidance on how to run the project.

Matej-Chmel avatar Aug 29 '24 11:08 Matej-Chmel