【发布时间】:2017-08-01 13:45:50
【问题描述】:
我在 Google Android Vitals 上获得了这个 stacktrace,用于特定设备,主要是 小米的 Redmi 设备。这是设备列表
这是我的 app.gradle
buildscript {
repositories {
maven { url 'https://maven.fabric.io/public' }
}
repositories {
jcenter()
}
dependencies {
classpath 'io.fabric.tools:gradle:1.+'
}
}
apply plugin: 'com.android.application'
apply plugin: 'io.fabric'
repositories {
mavenCentral()
maven { url 'https://maven.fabric.io/public' }
maven { url "https://raw.githubusercontent.com/smilefam/SendBird-SDK-
Android/master/" }
}
android {
lintOptions {
checkReleaseBuilds false
}
compileSdkVersion 26
buildToolsVersion "26.0.0"
defaultConfig {
resConfigs "en"
applicationId "xxxxxxxx"
minSdkVersion 16
targetSdkVersion 26
versionCode 123
multiDexEnabled false
versionName "1.6.8.1"
signingConfig signingConfigs.config
}
buildTypes {
debug {
minifyEnabled false
debuggable true
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
}
release {
minifyEnabled true
debuggable false
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
signingConfig signingConfigs.config
}
}
dexOptions {
javaMaxHeapSize "4g"
}
}
dependencies {
compile fileTree(include: ['*.jar'], dir: 'libs')
////////////////
////////////////////////////
//////////////////////////////
compile 'com.squareup.okhttp3:okhttp:3.8.0'
compile('com.twitter.sdk.android:twitter:3.0.0@aar') {
transitive = true// Contains Picasso
}
compile('com.crashlytics.sdk.android:crashlytics:2.6.7@aar') {
transitive = true
}
compile('io.branch.sdk.android:library:2.+') {
exclude module: 'answers-shim'
}
compile 'com.android.support:appcompat-v7:26.0.0'
compile 'com.android.support:design:26.0.0'
compile 'com.google.android.gms:play-services-location:11.0.2'
compile 'com.google.android.gms:play-services-gcm:11.0.2'
compile 'com.google.android.gms:play-services-auth:11.0.2'
compile 'org.greenrobot:eventbus:3.0.0'
compile 'com.facebook.android:facebook-android-sdk:4.24.0'
compile 'com.facebook.android:account-kit-sdk:4.20.0'
compile 'com.sendbird.sdk:sendbird-android-sdk:3.0.28'
compile 'com.clevertap.android:clevertap-android-sdk:3.1.2'
compile 'com.kbeanie:image-chooser-library:1.6.0@aar'
compile 'com.isseiaoki:simplecropview:1.1.4'
compile 'com.wang.avi:library:2.1.3'
compile 'com.pkmmte.view:circularimageview:1.1'
compile 'com.squareup.retrofit2:retrofit:2.3.0'
compile 'com.squareup.okhttp3:logging-interceptor:3.6.0'
compile 'com.squareup.retrofit2:converter-gson:2.3.0'
compile 'com.squareup.okhttp:okhttp:2.4.0'
compile 'com.airbnb.android:epoxy:2.2.0'
testCompile 'junit:junit:4.12'
}
apply plugin: 'com.google.gms.google-services'
我需要帮助来找出解决此崩溃的方法,或者至少在我的最终重现它。它在织物上也不可见。 我感觉这可能是由构建工具 26.0.0 引起的。但不确定。
提前致谢。
【问题讨论】:
-
您在应用中使用的是最新版本的 Crashlytics 吗?这可能有助于它在我们的仪表板中报告并为您提供更多洞察力。
-
是的。我想是这样。这是我对 crashlytics com.crashlytics.sdk.android:crashlytics:2.6.7@aar 的依赖
标签: android android-gradle-plugin crashlytics libc backtrace