android - android studio:依赖错误
问题描述
我是安卓工作室的新手。我试图将实现添加'com.google.android.gms:play-services:15.0.1'
到我的项目中,但出现错误。
这是我的依赖
dependencies {
implementation fileTree(dir: 'libs', include: ['*.jar'])
implementation 'com.android.support:cardview-v7:26.1.0'
implementation 'com.android.support:recyclerview-v7:26.1.0'
implementation 'com.android.support:appcompat-v7:26.1.0'
implementation 'com.google.firebase:firebase-core:16.0.0'
implementation 'com.google.firebase:firebase-database:16.0.1'
implementation 'com.google.firebase:firebase-storage:16.0.1'
implementation 'com.google.firebase:firebase-auth:16.0.1'
implementation 'com.firebaseui:firebase-ui-database:4.0.0'
implementation 'com.firebaseui:firebase-ui-auth:4.0.0'
implementation 'com.android.support.constraint:constraint-layout:1.1.0'
implementation 'com.android.support:design:26.1.0'
implementation 'com.google.android.gms:play-services-maps:15.0.1'
implementation 'com.google.android.gms:play-services:15.0.1'
implementation 'com.android.support:support-v4:26.1.0'
testImplementation 'junit:junit:4.12'
androidTestImplementation 'com.android.support.test:runner:1.0.2'
androidTestImplementation 'com.android.support.test.espresso:espresso-core:3.0.2'
}
apply plugin: 'com.google.gms.google-services'
你能帮我解决这个问题吗?我被困了一个星期。:(
解决方案
推荐阅读
- vba - Excel VBA,转换数据导致excel崩溃
- r - 遍历 R dplyr 中的列和行值(列表)
- ios - 我的 Xamarin IOS 应用程序导致 SIGABRT 崩溃
- angular - Angular 6 转换为对象
- ruby - 红宝石:is_a?和instance_of?在基本对象
- r - 如何创建循环以在模拟中生成不断增加的样本量
- python - 时间戳写在哪个时区转推
- python - 多输出模型的编译选项:多重损失和损失加权
- node.js - 为什么 Sequelize 将任何事物的名称复数/单数化?以及如何完全阻止这种情况?
- react-redux - 未定义不是功能(评估'(0,_reactRedux.Connect)(mapStateToProps,{userOpenedApp:_actions.userOpenedApp})')