Ionic-其他各种库都在请求库com.google.android.gms:play-services-basement

时间:2018-08-01 19:24:43

标签: android cordova ionic-framework ionic2 android-gradle

我正在使用Angular和Firebase构建一个Ionic应用程序。

在过去的几个月中,我通过运行以下命令在android上进行了测试:

ionic cordova run android --device --prod

过去,这对我来说非常有效。不过,最近我遇到了一个似乎无法修复的错误:

:app:preDebugBuild FAILED

FAILURE: Build failed with an exception.

* What went wrong:
The library com.google.android.gms:play-services-basement is being requested by various other libraries at [[11.0.1,11.0.1], [15.0.1,15.0.1]], but resolves to 15.0.1. Disable the plugin and check your dependencies tree using ./gradlew :app:dependencies.

我位于build.gradle的{​​{1}}文件具有以下依赖关系...我不确定这是否是正确的platforms\android\app

build.gradle

对此有什么解释吗?我该怎么办?谢谢!

0 个答案:

没有答案