Firebase-common具有不同版本的编译和运行时类路径

时间:2019-10-08 14:03:03

标签: firebase mobile flutter dart deep-linking

我想使用firebase_dynamic_links库在我的flutter应用程序中包括深层链接。问题是,由于版本问题,我无法启动我的应用程序。显然,编译版本与运行时版本不同。

我试图在build.gradle文件中更改依赖项的版本。我还尝试强制gradle使用其他版本。因此,我不确定问题是来自我的项目还是来自Firebase网站。

这是堆栈跟踪:

FAILURE: Build failed with an exception.

* What went wrong:
Execution failed for task ':app:preDebugBuild'.
> Android dependency 'com.google.firebase:firebase-common' has different version for the compile (16.0.3) and runtime (16.1.0) classpath. You should manually set the same version via DependencyResolution

* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights.

* Get more help at https://help.gradle.org

BUILD FAILED in 7s
Finished with error: Gradle task assembleDebug failed with exit code 1

0 个答案:

没有答案
相关问题