我试图让 Crashlytics 工作,但即使我遵循了所有步骤,我似乎仍然没有在 Crashlytics 中看到任何错误。
你能看看吗?
这是我用来开始崩溃的代码:
Crashlytics.getInstance().crash(); // Force a crash
我的应用程序摇篮:
apply plugin: 'com.android.application'
buildTypes {
release {
minifyEnabled false
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
lintOptions {
disable 'MissingTranslation'
}
}
}
buildToolsVersion '27.0.3'
}
allprojects {
repositories {
jcenter()
maven {
url "https://maven.google.com"
}
maven { url 'https://maven.fabric.io/public' }
}
}
repositories {
mavenCentral()
}
apply plugin: 'io.fabric'
dependencies {
implementation fileTree(dir: 'libs', include: ['*.jar'])
androidTestImplementation('com.android.support.test.espresso:espresso-core:2.2.2', {
exclude group: 'com.android.support', module: 'support-annotations'
})
implementation 'com.android.support:appcompat-v7:25.+'
implementation 'com.android.support:design:25.+'
implementation 'com.android.support:support-v4:25.+'
implementation 'com.android.support.constraint:constraint-layout:1.1.2'
implementation 'com.roughike:bottom-bar:2.3.1'
testImplementation 'junit:junit:4.12'
implementation 'com.google.firebase:firebase-core:16.0.3'
implementation 'com.google.firebase:firebase-database:16.0.1'
implementation 'com.google.firebase:firebase-auth:16.0.3'
implementation 'com.firebaseui:firebase-ui-auth:4.1.0'
// Required only if Facebook login support is r6equired
implementation 'com.facebook.android:facebook-android-sdk:4.27.0'
ITMISS
相关分类