https://kotlinlang.org logo
#android
Title
# android
a

alex.hart

05/24/2017, 4:09 PM
What is the actual output of the exception? It should tell you a little more than “what chunk of code” it happens in
z

zokipirlo

05/25/2017, 6:51 AM
It’s useless, because proguard mapping looks like doesn’t work in Firebase Crash Reporting:
>>Exception java.lang.ClassCastException: beer.hapibrew.app.a.a.c.d cannot be cast to beer.hapibrew.app.a.a.c.c
beer.hapibrew.app.controllers.main.SessionControllers$createAdapter$listeners$1.onItemClick (SessionControllers.java) eu.davidea.viewholders.FlexibleViewHolder.onClick (FlexibleViewHolder.java) android.view.View.performClick (View.java:4447) android.view.View$PerformClick.run (View.java:18445) android.os.Handler.handleCallback (Handler.java:733) android.os.Handler.dispatchMessage (Handler.java:95) android.os.Looper.loop (Looper.java:136) android.app.ActivityThread.main (ActivityThread.java:5050) java.lang.reflect.Method.invokeNative (Method.java) java.lang.reflect.Method.invoke (Method.java:515) com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run (ZygoteInit.java:805) com.android.internal.os.ZygoteInit.main (ZygoteInit.java:621)
d

david.bilik

05/25/2017, 6:53 AM
Its strange, I am using Firebase crash reporting and deobfuscating works ok
z

zokipirlo

05/25/2017, 6:54 AM
I don’t know 😞 All proguard mappings are uploaded and all I see is this. Problem with Kotlin?
m

miha-x64

05/25/2017, 7:37 AM
By the way,
-repackageclasses
and
-renamesourcefileattribute
are giving better obfuscation. 🙂
z

zokipirlo

05/25/2017, 7:37 AM
Thanks
a

alex.hart

05/31/2017, 5:58 PM
I think you can upload your mapping.txt file into Firebase
z

zokipirlo

06/01/2017, 3:48 AM
I did. Doesn't matter anymore. Switched to Fabric now as suggested in Firebase.
3 Views