Skip to content

Failed to resolve: android.test.runner:1.1.1 #19

@wheel1992

Description

@wheel1992

Below is the output after trying to build gradle.

ERROR: Unable to resolve dependency for ':app@developmentDynamicProfile/compileClasspath': Could not resolve project :flutter_string_encryption.

Under android/build.gradle

...
dependencies {
        classpath 'com.android.tools.build:gradle:3.3.2'
        classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:1.3.21"
}
...

Under android/app/build.gradle

...
dependencies {
    ...
    implementation "org.jetbrains.kotlin:kotlin-stdlib-jdk7:1.3.21"
    ...
    testImplementation 'junit:junit:4.12'
    androidTestImplementation 'androidx.test.runner:1.1.1'
    androidTestImplementation 'androidx.test.espresso:espresso-core:3.1.1'
}
...

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