我对Frabric(Crashlytics)服务有神秘的问题 我发现crashlytics并没有自动对崩溃日志进行去混淆。
io.fabric.tools版本1.19.1和顶级构建文件中的android.tools版本1.2.3:
\"[^\"\\\\]*(?:\\\\.[^\"\\\\]*)*+\"
BuildTypes config:
dependencies {
classpath 'com.android.tools.build:gradle:1.2.3'
classpath 'io.fabric.tools:gradle:1.19.1'
}
依赖项:
buildTypes {
debug{
debuggable true
jniDebuggable true
}
release {
debuggable false
jniDebuggable false
minifyEnabled true
proguardFiles 'proguard-coda.txt', 'proguard-rules.pro'
}
}
proguard配置文件包含:
compile('com.crashlytics.sdk.android:crashlytics:2.4.0@aar') {
transitive = true
}
从gradle控制台我看到与crashlytics相关的任务没问题-renamesourcefileattribute SourceFile
-keepattributes SourceFile,LineNumberTable
和:app:crashlyticsStoreDeobsRelease
:
:app:crashlyticsUploadDeobsRelease
但是崩溃日志仍然没有被去混淆。
Executing tasks: [:app:assembleRelease]
Configuration on demand is an incubating feature.
:app:preBuild UP-TO-DATE
:app:preReleaseBuild UP-TO-DATE
:app:checkReleaseManifest
:app:preDebugBuild UP-TO-DATE
...............................
:app:fabricGenerateResourcesRelease
:app:processReleaseResources
:app:generateReleaseSources
:app:processReleaseJavaRes UP-TO-DATE
:app:compileReleaseJava UP-TO-DATE
:app:compileReleaseNdk UP-TO-DATE
:app:compileReleaseSources UP-TO-DATE
:app:collectReleaseMultiDexComponents UP-TO-DATE
:app:proguardRelease UP-TO-DATE
:app:shrinkReleaseMultiDexComponents UP-TO-DATE
:app:createReleaseMainDexClassList UP-TO-DATE
:app:retraceReleaseMainDexClassList UP-TO-DATE
:app:dexRelease UP-TO-DATE
:app:crashlyticsStoreDeobsRelease <=====
:app:crashlyticsUploadDeobsRelease <=====
:app:lintVitalRelease
:app:validateExternalOverrideSigning
:app:packageRelease
:app:zipalignRelease
:app:assembleRelease
BUILD SUCCESSFUL
Total time: 11.569 secs
有人可以帮我吗?