android - Crashlytics doesn't deobfuscate code -


i have mysterious problem frabric(crashlytics) service.
found crashlytics doesn't de-obfuscate crashlogs automatically.

io.fabric.tools version 1.19.1 , android.tools version 1.2.3 in top-level build file:

dependencies {     classpath 'com.android.tools.build:gradle:1.2.3'     classpath 'io.fabric.tools:gradle:1.19.1' } 

buildtypes config:

buildtypes {     debug{         debuggable true         jnidebuggable true     }     release {         debuggable false         jnidebuggable false         minifyenabled true         proguardfiles 'proguard-coda.txt', 'proguard-rules.pro'     } } 

and dependencies:

compile('com.crashlytics.sdk.android:crashlytics:2.4.0@aar') {     transitive = true } 

the proguard config file contain:

-renamesourcefileattribute sourcefile -keepattributes sourcefile,linenumbertable 

from gradle console see tasks related crashlytics okay :app:crashlyticsstoredeobsrelease , :app:crashlyticsuploaddeobsrelease:

executing tasks: [:app:assemblerelease]  configuration on demand 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 

but crash logs still not de-obfuscated.

caused by: java.lang.runtimeexception: test exception!!!        @ coda.rootactivity.oncreate(sourcefile:189)     <====        @ android.app.activity.performcreate(activity.java:5990)        @ android.app.instrumentation.callactivityoncreate(instrumentation.java:1106)        @ android.app.activitythread.performlaunchactivity(activitythread.java:2278) 

can me it?

i checked 1 of our projects, not using line in proguard configuration , it's working fine

-renamesourcefileattribute sourcefile 

Comments

Popular posts from this blog

toolbar - How to add link to user registration inside toobar in admin joomla 3 custom component -

linux - disk space limitation when creating war file -