Warning: file_get_contents(/data/phpspider/zhask/data//catemap/3/android/210.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Android 我不知道';在将SDK更新为17.0.0+;版本_Android_Sdk_Crashlytics_Crashlytics Android - Fatal编程技术网

Android 我不知道';在将SDK更新为17.0.0+;版本

Android 我不知道';在将SDK更新为17.0.0+;版本,android,sdk,crashlytics,crashlytics-android,Android,Sdk,Crashlytics,Crashlytics Android,2周前,我将Firebase Crashlytics SDK更新为17.0.0+版本,之后,我在Crashlytics仪表板上看不到崩溃。相反,我看到的是红色方框的信息 “截至11月16日,我们只处理Firebase的坠机事件 Crashlytics Android SDK 17.0.0+。因此,您不会看到新的 仪表板崩溃。了解更多“ 我使用此文档进行SDK迁移- 我也使用了BOM而不是直接的SDK链接,但这对我没有帮助 我的应用程序级别build.gradle文件 apply plugin:

2周前,我将Firebase Crashlytics SDK更新为17.0.0+版本,之后,我在Crashlytics仪表板上看不到崩溃。相反,我看到的是红色方框的信息

“截至11月16日,我们只处理Firebase的坠机事件 Crashlytics Android SDK 17.0.0+。因此,您不会看到新的 仪表板崩溃。了解更多“

我使用此文档进行SDK迁移-

我也使用了BOM而不是直接的SDK链接,但这对我没有帮助

我的应用程序级别build.gradle文件

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

android {
    compileSdkVersion 29
    flavorDimensions "versionCode"

    defaultConfig {
        applicationId "com...."
        minSdkVersion 19
        targetSdkVersion 29
        versionCode 51457
        versionName "2.7.8"
        multiDexEnabled true
    }

    compileOptions {
        sourceCompatibility 1.8
        targetCompatibility 1.8
    }

    dexOptions {
        jumboMode true
        javaMaxHeapSize "4g"
    }


    packagingOptions {
        exclude 'META-INF/DEPENDENCIES'
        exclude 'META-INF/NOTICE'
        exclude 'META-INF/LICENSE'
        exclude 'META-INF/LICENSE.txt'
        exclude 'META-INF/NOTICE.txt'
        exclude 'AndroidManifest.xml'

        exclude 'error_prone/Annotations.gwt.xml'
        exclude 'third_party/java_src/error_prone/project/annotations/Annotations.gwt.xml'
        exclude 'third_party/java_src/error_prone/project/annotations/Google_internal.gwt.xml'

        exclude 'lib/arm/*'
        exclude 'lib/mips/*'
        exclude 'lib/mips64/*'
    }

    lintOptions {
        checkReleaseBuilds false
    }
}

def jwp_version = "3.13.1"

repositories {
    mavenCentral()
    flatDir {
        dirs 'libs'
    }
    maven {
        url 'http://dl.bintray.com/optimizely/optimizely'
    }
    maven {
        url  "http://comscore.bintray.com/Analytics"
    }
    maven {
        url 'https://nativo.jfrog.io/nativo/libs-release'
    }
}

dependencies {
    // Ads SKDs and libraries
    implementation fileTree(include: ['*.jar'], dir: 'libs')

    // Amazon DFP
    implementation project(":DTBAndroidSDK-8.0.0")

    implementation files('libs/NexageSDK.jar')
    implementation files('libs/sourcekit-mraid.jar')
    implementation files('libs/sourcekit-vast.jar')
    implementation(group: 'net.nativo.sdk', name: 'nativo-sdk', version: '4.3.9', ext: 'aar')
    implementation "androidx.constraintlayout:constraintlayout:1.1.3"

    // Analytics
    implementation 'com.adobe.mobile:adobeMobileLibrary:4.15.0'
    implementation 'com.comscore:android-analytics:5.5.1'
    implementation 'com.apptentive:apptentive-android:5.4.1'
    implementation 'net.hockeyapp.android:HockeySDK:5.1.0'
    compile files('libs/bluekai-2.1.7.jar')

    // Misc
    implementation 'cz.msebera.android:httpclient:4.4.1.2'
    implementation(name: 'VRKit', ext: 'aar')
    implementation 'com.squareup.picasso:picasso:2.5.2'
    implementation 'com.nostra13.universalimageloader:universal-image-loader:1.9.3'
    implementation 'pl.droidsonroids.gif:android-gif-drawable:1.2.6'
    implementation 'org.greenrobot:eventbus:3.0.0'
    implementation 'com.facebook.android:facebook-share:4.38.0'
    implementation 'com.android.volley:volley:1.1.0'

    // Android Support Libraries
    implementation 'androidx.appcompat:appcompat:1.0.2'
    implementation 'androidx.cardview:cardview:1.0.0'
    implementation 'androidx.browser:browser:1.0.0'
    implementation 'androidx.recyclerview:recyclerview:1.0.0'
    implementation 'androidx.legacy:legacy-support-v13:1.0.0'
    implementation 'com.google.android.material:material:1.0.0'
    implementation 'androidx.multidex:multidex:2.0.1'

    implementation  'androidx.webkit:webkit:1.1.0-alpha02'
    implementation 'com.github.anrwatchdog:anrwatchdog:1.4.0'

    // Google Play Services
    implementation 'com.google.android.gms:play-services-base:17.0.0'
    implementation 'com.google.android.gms:play-services-ads:18.1.1'
    implementation 'com.google.android.gms:play-services-analytics:17.0.0'
    implementation 'com.google.android.gms:play-services-cast-framework:17.0.0'

    // Google Firebase SDKs
    implementation 'com.google.firebase:firebase-core:17.2.0'
    implementation "com.google.firebase:firebase-messaging:20.0.0"

    // Add the Firebase Crashlytics SDK.
    implementation 'com.google.firebase:firebase-crashlytics:17.3.0'

    // Recommended: Add the Google Analytics SDK.
    implementation 'com.google.firebase:firebase-analytics:18.0.0'

    implementation 'com.facebook.stetho:stetho:1.5.1'

    // JWPlayer
    implementation "com.longtailvideo.jwplayer:jwplayer-core:$jwp_version"
    implementation "com.longtailvideo.jwplayer:jwplayer-common:$jwp_version"
    implementation "com.longtailvideo.jwplayer:jwplayer-ima:$jwp_version"

    implementation 'com.squareup.retrofit2:retrofit:2.7.0'
    implementation 'com.squareup.retrofit2:converter-gson:2.7.0'
    implementation 'com.google.code.gson:gson:2.8.6'
    implementation 'com.squareup.okhttp3:logging-interceptor:4.2.2'

}

我可以通过简单地升级我的crashlytics库来解决这个问题,同时也更改了JSON文件 跟踪此链接

此外,确保添加崩溃/错误以查看firebase控制台上的更改 抛出RuntimeException(“测试崩溃”)//强制崩溃


请分享你的应用级别
build.gradle
@DYS我添加了一个应用级别build.gradle文件。我执行了这些步骤,但它对我没有帮助。