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
Probably have to upgrade AGP and Gradle
Made project working with these changes:
build.gradlefor root projectbuildscript { 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
namespaceproperty inbuild.gradleforappprojectAnd
gradle-wrapper.properties