Found com.google.firebase:firebase-core:11.8.0, but version 11.4.2 is needed for the google-services plugin.
FAILURE: Build failed with an exception.
* What went wrong:
Execution failed for task ':app:processDebugGoogleServices'.
> Please fix the version conflict either by updating the version of the google-services plugin (information about the latest version is available at https://bintray.com/android/android-tools/com.google.gms.google-services/) or updating the version of com.google.android.gms to 11.4.2.
解决方法是将此行移到应用程序 build.gradle 文件的底部(它不应该在顶部):
1
apply plugin: 'com.google.gms.google-services'
这是在文档中指定的:
https://firebase.google.com/docs/android/setup
Then, in your module Gradle file (usually the app/build.gradle), add
the apply plugin line at the bottom of the file to enable the Gradle
在 Windows 10 环境中,通过配置 Visual Studio Code (VSCode) 实现基于 Windows Subsystem for Linux (WSL) 的 C++ 开发,并启用智能代码提示功能。具体步骤包括安装 VSCode 及其相关插件,如 CCIntelliSense、TabNine 和 BracketPairColorizer,确保在 WSL 中顺利进行开发工作。此外,还详细介绍了如何在 Windows 10 中启用和配置 WSL,以实现无缝的跨平台开发体验。 ...
[详细]