【发布时间】:2018-07-27 13:21:36
【问题描述】:
我使用 NativeScript 插件 Firebase 和 NativeScript 插件 WonderPush。但是当我尝试为 Android 编译时,我得到一个错误:
FAILURE: Build failed with an exception.
* What went wrong:
Failed to capture snapshot of input files for task ':app:preDebugBuild' property 'compileManifests' during up-to-date check.
> The library com.google.android.gms:play-services-basement is being requested by various other libraries at [[11.0.4,11.0.4], [15.0.1,15.0.1]], but resolves to 15.0.1. Disable the plugin and check your dependencies tree using ./gradlew :app:dependencies.
我认为这是因为 Firebase 插件使用 15.0.1 版本的库,而 WonderPush 使用 11.0.4 版本。
如何在我的项目中解决这个冲突? (我无法修改这些插件)
谢谢
【问题讨论】:
标签: android gradle nativescript wonderpush