【发布时间】:2018-11-26 02:06:16
【问题描述】:
无法解决:com.google.firebase:firebase-core:16.0.0
出现错误:compile 'com.android.support:appcompat-v7:25.3.1' 导致项目运行困难。
【问题讨论】:
-
看看这个answer
无法解决:com.google.firebase:firebase-core:16.0.0
出现错误:compile 'com.android.support:appcompat-v7:25.3.1' 导致项目运行困难。
【问题讨论】:
这个solution 可以帮助你。看一下这个。
打开你的 build:gradle(project file) 并检查是否有 google play service classpath 以及是否添加了 google() repo。
【讨论】:
allprojects { repositories { jcenter() maven { url 'https://maven.google.com/' name 'Google' } } } 在你的项目/build.gradle
只需将 google-services(1).json 重命名为 google-services.json.. 可能会起作用。
【讨论】: