Quickstart-android: Crash not working for kotlin version

Created on 30 Oct 2020  路  6Comments  路  Source: firebase/quickstart-android

I just clone and run the sample app. Tested the crash:app in the emulator.

When the UI for crash sample is running, there is 2 options: Java and Kotlin. Using Java, when i click the button, i can see in firebase console that crash is detected.

However, when i attempted to do on Kotlin, it is not. I try with different firebase project (different json) to verify again. The result is the same. Java works, Kotlin doesn't.

Any suggestions? Thanks.

All 6 comments

This issue does not seem to follow the issue template. Make sure you provide all the required information.

@4tee Can you tell us whether you checked the "Catch Crash" CheckBox or not? Just so we can we can reproduce your issue accurately.

@rosariopfernandes ... I unchecked it to make them crashed.

@4tee I tried to reproduce your issue with no success. Both the Java and Kotlin apps are working for me.

Here's what it looks like in the Crashlytics Console:

Screenshot from 2020-11-05 00-09-40 resized

Notice that it says "4 events". Some of them are from the Java app, others from the Kotlin app. They've been grouped together because it's the same type of crash being thrown from the same class (View.OnClickListener).

If you'd like to go through each of the 4 grouped events, click on the issue and then you'll see the page bellow. Navigate through the events by clicking on the > button shown on the top right corner of this image:

Screenshot from 2020-11-05 00-10-18

@rosariopfernandes ... thanks a lot for following up. Yes, today, i try to run again and it works in both Java and Kotlin now. 馃槙
Anyway, I will close this thread. Thanks a lot once again.

@rosariopfernandes thanks for looking into this!

Was this page helpful?
0 / 5 - 0 ratings

Related issues

UttamPanchasara picture UttamPanchasara  路  4Comments

naveenkumarn27 picture naveenkumarn27  路  4Comments

the-dagger picture the-dagger  路  4Comments

rahuldevanavar91 picture rahuldevanavar91  路  5Comments

wellbranding picture wellbranding  路  3Comments