• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Liutauras Vilda
  • Tim Cooke
  • Jeanne Boyarsky
  • Bear Bibeault
Sheriffs:
  • Knute Snortum
  • paul wheaton
  • Devaka Cooray
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Ron McLeod
  • Piet Souris
  • Ganesh Patekar
Bartenders:
  • Tim Holloway
  • Carey Brown
  • salvin francis

Firebase analytics with kotlin app

 
Ranch Hand
Posts: 98
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I have created an android app with kotlin, i have added my project in FireBase.
After building an apk, i transfer it to my mobile phone Android 8.
My problem is the apk crashed !!!
How can i know the reason why it crashed with analytics Firebase  ?
 
Saloon Keeper
Posts: 5765
146
Android Mac OS X Firefox Browser VI Editor Tomcat Server Safari
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I think it has been pointed out to you before that the first step in debugging an app crash is to check the logcat, which should contain the full stack trace of an exception. Post the text of that stack trace here.
 
Maha Sakka
Ranch Hand
Posts: 98
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thanks for your reply, but, Unfortunately you didn't understand me, my app work in the emulator without any bug
but when i transfer it to my mobile phone and install it  the apk crashed,
 
Tim Moores
Saloon Keeper
Posts: 5765
146
Android Mac OS X Firefox Browser VI Editor Tomcat Server Safari
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
You want the app to run on the device, don't you? So the stack trace of the crash is relevant. That the app runs fine on the emulator is interesting information, but not germane to the issue of diagnosing the crash.
 
Maha Sakka
Ranch Hand
Posts: 98
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Yes, i want to run the app in my device, but the app crashed and i want to know the reason why it crashed
 
Tim Moores
Saloon Keeper
Posts: 5765
146
Android Mac OS X Firefox Browser VI Editor Tomcat Server Safari
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
We can't possibly know that. As I keep telling you, the first step  to diagnose crashes is to dig into the logcat for exception stack traces. It takes little time, and you could have done this yesterday; if you had, we would be further along. I don't understand why you are reluctant to do it, but until you do, there's nothing else we can advise.
 
What a show! What atmosphere! What fun! What a tiny ad!
Java file APIs (DOC, XLS, PDF, and many more)
https://products.aspose.com/total/java
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!