【发布时间】:2019-06-26 09:10:18
【问题描述】:
我有一个运行良好的颤振应用程序,但是当我添加 cloud-firestore 依赖项时,它崩溃了:
FAILURE: Build failed with an exception.
* What went wrong:
Execution failed for task ':app:preDebugBuild'.
Android dependency 'android.arch.lifecycle:runtime' has different version for the compile (1.0.0) and runtime (1.1.1) classpath. You should manually set the same version via DependencyResolution
这里是我的 pubspec.yaml
dependencies:
flutter:
sdk: flutter
#FIRESTORE
cloud_firestore: ^0.9.0
我该如何解决这个问题?
问候,迭戈
【问题讨论】:
标签: android flutter google-cloud-firestore