我正在尝试构建从GitHub克隆的this Flutter应用。
解决所有依赖性错误后,我看到以下故障:
FAILURE: Build failed with an exception.
s
* What went wrong:
Execution failed for task ':app:preDebugBuild'.
> Android dependency 'com.android.support:support-v4' has different version for the compile (26.1.0) and runtime (27.1.1) 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.
* Get more help at https://help.gradle.org
BUILD FAILED in 4s
Gradle build failed: 1
我被这个问题困扰。有人可以帮我吗?
我的计算机上当前的依赖项版本如下:
image_picker: ^0.4.10
google_sign_in: ^3.0.5
firebase_analytics: ^1.0.3
firebase_auth: ^0.5.20
firebase_database: ^1.0.4
firebase_storage: ^1.0.2