相关疑难解决方法(0)

我无法查看适用于 android 的 Firebase Crashlytics 的崩溃详细信息,并且卡在“构建并运行您的应用”上

完成设置 Firebase 后,我尝试设置 Firebase Crashlytics。

崩溃已成功发送。

来自 Logcat 的日志

我可以在 firebase 仪表板中看到它们。

Firebase 信息中心崩溃

但是当我输入 crashlytics 查看崩溃细节时。

我被困在第 3 步(构建并运行您的应用程序,我们将监听您的应用程序与我们的服务器进行通信。)。

我已经尝试卸载重新安装,删除结构或火力崩溃报告部分,但根本不起作用。

在此处输入图片说明

这是我使用的 firebase、fabric、crashlytics 版本。

classpath 'com.android.tools.build:gradle:3.3.1'
classpath 'com.google.gms:google-services:4.0.2'
classpath 'io.fabric.tools:gradle:1.26.1'

implementation 'com.google.firebase:firebase-core:16.0.7'
implementation('com.crashlytics.sdk.android:crashlytics:2.9.9@aar') 
{
    transitive = true;
}
Run Code Online (Sandbox Code Playgroud)

有什么解决办法吗?

android firebase crashlytics

7
推荐指数
2
解决办法
6677
查看次数

为什么新的 Firebase Crashlytics(无结构)在 Android 中不起作用?

每个人都在建议答案之前阅读并更新自己(不要给 Fabric 建议):https : //firebase.google.com/docs/crashlytics/upgrade-sdk?platform=android

我的应用程序已经在 firebase 注册。

我设置了所有内容,但没有更改清单和应用程序类中的任何内容。

apply plugin: 'com.android.application'
apply plugin: 'com.google.gms.google-services'
apply plugin: 'com.google.firebase.crashlytics'

android {
    /* compileSdkVersion 'android-R'*/
    compileSdkVersion 29
    defaultConfig {
        applicationId "com.xxxxxxxxxxxx"
        minSdkVersion 21
        /* targetSdkVersion 'R'*/
        targetSdkVersion 29
        versionCode 1
        versionName "1.0"
        testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
    }

    compileOptions {
        sourceCompatibility JavaVersion.VERSION_1_8
        targetCompatibility JavaVersion.VERSION_1_8
    }

    lintOptions {
        checkReleaseBuilds true
        abortOnError false
    }

    buildTypes {
        release {
            minifyEnabled true
            shrinkResources false
            proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro'
        }
        customDebugType {
            debuggable true
        }
    }

    dataBinding {
        enabled = …
Run Code Online (Sandbox Code Playgroud)

android firebase crashlytics

5
推荐指数
1
解决办法
7465
查看次数

标签 统计

android ×2

crashlytics ×2

firebase ×2