运行cordova run android时出现依赖项故障
我在构建项目时遇到此错误 依赖项失败: com.google.android.gms:play services tagmanager api:15.0.2-> com.google.android.gms:play services measurement base@[15.0.2],但是 play services测量基版本为15.0.4 以下是我的应用程序和项目级build.gradle文件 根构建.gradle 应用程序build.gradle运行cordova run android时出现依赖项故障,android,cordova,ionic-framework,android-gradle-plugin,Android,Cordova,Ionic Framework,Android Gradle Plugin,我在构建项目时遇到此错误 依赖项失败: com.google.android.gms:play services tagmanager api:15.0.2-> com.google.android.gms:play services measurement base@[15.0.2],但是 play services测量基版本为15.0.4 以下是我的应用程序和项目级build.gradle文件 根构建.gradle 应用程序build.gradle dependencies { //
dependencies {
// NOTE: Do not place your application dependencies here; they belong
// in the individual module build.gradle files
classpath 'com.android.tools.build:gradle:3.4.0'
classpath 'com.google.gms:google-services:4.2.0' // google-services dependency from cordova-plugin-firebase
classpath 'io.fabric.tools:gradle:1.25.4' // fabric dependency from cordova-plugin-firebase
}
dependencies {
implementation fileTree(dir: 'libs', include: '*.jar')
// SUB-PROJECT DEPENDENCIES START
implementation(project(path: ":CordovaLib"))
compile "com.android.support:support-annotations:27.+"
compile "com.google.android.gms:play-services-tagmanager:16.0.8"
compile "com.google.firebase:firebase-core:16.0.8"
compile "com.google.firebase:firebase-messaging:17.0.0"
compile "com.google.firebase:firebase-config:16.5.0"
compile "com.google.firebase:firebase-perf:16.2.5"
compile "com.google.android.gms:play-services-auth:16.0.1"
compile "com.google.android.gms:play-services-identity:16.0.0"
// SUB-PROJECT DEPENDENCIES END
}