ERROR: Failed to resolve: com.michaelpardo:activeandroid:3.1.0-SNAPSHOT Show in Project Structure dialog Affected Modules: app

731 views Asked by At

ERROR: Failed to resolve: com.michaelpardo:activeandroid:3.1.0-SNAPSHOT Show in Project Structure dialog Affected Modules: app

1

There are 1 answers

2
AlexS On

You should add into app/gradle

repositories {
    mavenCentral()
    maven { url "https://oss.sonatype.org/content/repositories/snapshots/" }
    ....
}

dependencies {
    implementation 'com.michaelpardo:activeandroid:3.1.0-SNAPSHOT'
    ...
}

UPDATE: Framework was recently removed from the repository, so:

Step 1 : remove or comment following line from build.gradle file

implementation 'com.michaelpardo:activeandroid:3.1.0-SNAPSHOT'

Step 2: Download jar from this link

Step 3: Put this jar to app/lib folder

Step 4 : add implementation files('libs/activeandroid-3.1.0-SNAPSHOT.jar') line to build.gradle file