Pra*_*ani 0 android firebase firebase-cloud-messaging
我正在使用Firebase创建我的第一个应用程序.
我一步一步地在我的应用程序中添加firebase.
完成所有步骤后,我遇到了以下错误.
我的build.gradle文件:
dependencies {
compile fileTree(include: ['*.jar'], dir: 'libs')
testCompile 'junit:junit:4.12'
compile 'com.android.support:appcompat-v7:23.4.0'
compile 'com.google.firebase:firebase-core:9.0.2'
compile 'com.google.firebase:firebase-messaging:9.0.2'
}
apply plugin: 'com.google.gms.google-services'
Run Code Online (Sandbox Code Playgroud)
我还在Project level build.gradle中添加了以下行.
classpath 'com.google.gms:google-services:3.0.0'
Run Code Online (Sandbox Code Playgroud)
有什么问题,我找不到.有帮助吗?
您需要更新的谷歌Repositorty中的Andriod-SDK下附加.然后同步您的项目,您的项目将成功同步.
因为Firebase 9.0.2更新版本正在更新Google Repo.
| 归档时间: |
|
| 查看次数: |
3593 次 |
| 最近记录: |