user9961099
user9961099

Reputation:

android -Could not resolve all dependencies for configuration ':_armv7DebugApkCopy'

Since few days I have this problem

Before, compile was ok, but now I always have this error

FAILURE: Build failed with an exception.

I'm Using [email protected] Thanks for help

Upvotes: 0

Views: 518

Answers (2)

Enzo B.
Enzo B.

Reputation: 2371

I thinks it's a knowned cordova problem when using multiple plugins that use multiple versions of gradle.

You can handle this with this plugin : https://github.com/dpa99c/cordova-android-support-gradle-release

You maybe should remove the TrooperMaXX solution before try this.

Upvotes: 0

TrooperMaXX
TrooperMaXX

Reputation: 33

in the android gradle file you need to specify the following

compileSdkVersion 26
buildToolsVersion "26.0.1"

and then find this text " compile "com.android.support:appcompat-v7" and make sure it says compile "com.android.support:appcompat-v7:26.0.1"

Also make sure that your other build.gradle file add maven url 'https://maven.google' should look like this

allprojects {
    repositories {
        mavenLocal()
        jcenter()
        maven {
            url 'https://maven.google.com'
        }
        maven {
            // All of React Native (JS, Obj-C sources, Android binaries) is installed from npm
            url "$rootDir/../node_modules/react-native/android"
        }
    }
}

Upvotes: 1

Related Questions