Skip to content

Gradle sync fails #8

@Flexlug

Description

@Flexlug

Probably have to upgrade AGP and Gradle

Made project working with these changes:

build.gradle for root project

buildscript {
    ext {
        agp_version = '8.6.1'
    }
    repositories {
        google()
        mavenCentral()
    }
    dependencies {
        classpath "com.android.tools.build:gradle:$agp_version"
    }
}

task clean(type: Delete) {
    delete rootProject.buildDir
}

Also add namespace property in build.gradle for app project

android {
    compileSdk 32
    namespace 'com.sergeygovorunov.imagecollection'
...

And gradle-wrapper.properties

#Sun Nov 10 20:02:18 MSK 2024
distributionBase=GRADLE_USER_HOME
distributionPath=wrapper/dists
distributionUrl=https\://services.gradle.org/distributions/gradle-8.9-bin.zip
networkTimeout=10000
validateDistributionUrl=true
zipStoreBase=GRADLE_USER_HOME
zipStorePath=wrapper/dists

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