sec*_*bly 4 android kotlin firebase
我不确定这里发生了什么,我撤消了最近更新的存储库,每次打开应用程序以在模拟器E/FirebaseInstanceId: Token retrieval failed: AUTHENTICATION_FAILED加载主屏幕时在模拟器上对其进行调试。但是,这在今天之前没有发生过,所以我不知道会发生什么变化?我从Firebase控制台删除了该应用程序,然后重新添加了它(通过Firebase Assistant),但这还是没有解决?我已经包含了我的build.grade文件,但是我不确定我还需要查看什么,任何帮助将不胜感激。
apply plugin: 'com.android.application'
apply plugin: 'kotlin-android'
apply plugin: 'kotlin-android-extensions'
android {
compileSdkVersion 27
defaultConfig {
applicationId "com.android.projectrc"
minSdkVersion 16
targetSdkVersion 27
versionCode 1
versionName "1.0"
testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner"
vectorDrawables.useSupportLibrary = true
}
buildTypes {
release {
minifyEnabled false
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
}
}
}
dependencies {
implementation 'com.wdullaer:materialdatetimepicker:3.4.0'
implementation "org.jetbrains.anko:anko:$anko_version"
implementation fileTree(dir: 'libs', include: ['*.jar'])
implementation "org.jetbrains.kotlin:kotlin-stdlib-jre7:$kotlin_version"
implementation 'com.android.support:appcompat-v7:27.0.2'
implementation 'com.android.support:design:27.0.2'
implementation 'com.android.support.constraint:constraint-layout:1.0.2'
implementation 'com.github.bumptech.glide:glide:4.2.0'
implementation 'com.google.firebase:firebase-auth:11.0.4'
implementation 'com.google.firebase:firebase-database:11.0.4'
implementation 'com.google.firebase:firebase-storage:11.0.4'
testImplementation 'junit:junit:4.12'
androidTestImplementation 'com.android.support.test:runner:1.0.1'
androidTestImplementation 'com.android.support.test.espresso:espresso-core:3.0.1'
}
apply plugin: 'com.google.gms.google-services'
Run Code Online (Sandbox Code Playgroud)
我的猜测是,新版本的 Google Play 库已经发布,您的测试设备/模拟器需要更新其当前安装的版本。
检查您的设备/模拟器上的 Google Play 商店应用程序,进行更新,然后就可以开始了!
| 归档时间: |
|
| 查看次数: |
7367 次 |
| 最近记录: |