Jump to content

[TOPIC: topicViewTemplate]
[GLOBAL: userSmallPhoto]
Photo

Crashlytics does not send crash
Started by zdmitrynsk Sep 13 2017 08:21 PM

29 replies to this topic
fabric crash crashlytics
[TOPIC CONTROLS]
Page 1 of 2 1 2
[/TOPIC CONTROLS]
[modOptionsDropdown]
[/modOptionsDropdown]
[reputationFilter]
[TOPIC: post.html]
#1

zdmitrynsk

[GLOBAL: userInfoPane.html]
zdmitrynsk
  • Observer

  • 29 posts
  • Corona SDK

After the project was launched, the application was not added to the dashboard.

I launched the project on an android SDK with the same package name. After that, the application was added to the dashboard.

Events such as "sendCustomEvent" work. But the crash still is not sent. Does anyone know the solution?

Attached Files



[TOPIC: post.html]
#2

Scott Harrison

[GLOBAL: userInfoPane.html]
Scott Harrison
  • Corona Geek

  • 1,803 posts
  • Enterprise

let me look into this



[TOPIC: post.html]
#3

Scott Harrison

[GLOBAL: userInfoPane.html]
Scott Harrison
  • Corona Geek

  • 1,803 posts
  • Enterprise

Just an update I have been looking at this for a while, still trying to figure out what is going on.



[TOPIC: post.html]
#4

Scott Harrison

[GLOBAL: userInfoPane.html]
Scott Harrison
  • Corona Geek

  • 1,803 posts
  • Enterprise

I just got an email saying 30 crash were reported today. I was testing using a new version of the plugin. The new version is out and this should be fixed. 



[TOPIC: post.html]
#5

zdmitrynsk

[GLOBAL: userInfoPane.html]
zdmitrynsk
  • Observer

  • 29 posts
  • Corona SDK

screen.pngStill not sent the crash. The plugin loaded. But the truth fabric.lua plugin has an old date change. 



[TOPIC: post.html]
#6

Scott Harrison

[GLOBAL: userInfoPane.html]
Scott Harrison
  • Corona Geek

  • 1,803 posts
  • Enterprise

The fabric.lua has not changed, fabric.java has changed on Android. That's odd, try in your dashboard changing to all events on crashlytics. 



[TOPIC: post.html]
#7

Scott Harrison

[GLOBAL: userInfoPane.html]
Scott Harrison
  • Corona Geek

  • 1,803 posts
  • Enterprise

Screen%20Shot%202017-09-15%20at%2012.18.



[TOPIC: post.html]
#8

zdmitrynsk

[GLOBAL: userInfoPane.html]
zdmitrynsk
  • Observer

  • 29 posts
  • Corona SDK

Interesting. On the "Latest Relay" tab, crashes are displayed. But on the "Crashlytics" tab they are still not displayed.

 

3.png2.png



[TOPIC: post.html]
#9

Scott Harrison

[GLOBAL: userInfoPane.html]
Scott Harrison
  • Corona Geek

  • 1,803 posts
  • Enterprise

Try changing your time



[TOPIC: post.html]
#10

Scott Harrison

[GLOBAL: userInfoPane.html]
Scott Harrison
  • Corona Geek

  • 1,803 posts
  • Enterprise

As 7 day to 60 minutes



[TOPIC: post.html]
#11

zdmitrynsk

[GLOBAL: userInfoPane.html]
zdmitrynsk
  • Observer

  • 29 posts
  • Corona SDK

I made a mistake. it seems it's just circles. Well, now I'll try to change the time.



[TOPIC: post.html]
#12

zdmitrynsk

[GLOBAL: userInfoPane.html]
zdmitrynsk
  • Observer

  • 29 posts
  • Corona SDK

Nothing

 

4.jpg



[TOPIC: post.html]
#13

Scott Harrison

[GLOBAL: userInfoPane.html]
Scott Harrison
  • Corona Geek

  • 1,803 posts
  • Enterprise

When did you send the crash?



[TOPIC: post.html]
#14

Scott Harrison

[GLOBAL: userInfoPane.html]
Scott Harrison
  • Corona Geek

  • 1,803 posts
  • Enterprise

First, you have to rebuild your app.

Second, you have to send a crash 

example:

fabric.recordError("test1", 104)


[TOPIC: post.html]
#15

zdmitrynsk

[GLOBAL: userInfoPane.html]
zdmitrynsk
  • Observer

  • 29 posts
  • Corona SDK

Less than 60 minutes. At 24 hours the same situation. 

I even reinstalled the application. 

Now I'll try use your code.



[TOPIC: post.html]
#16

zdmitrynsk

[GLOBAL: userInfoPane.html]
zdmitrynsk
  • Observer

  • 29 posts
  • Corona SDK

Сrashes are still not displayed.
After use "recordError" in the logs the following messages appear:
D / Fabric (23774): Crashlytics is logging non-fatal exception "java.lang.Exception: Code: 104.0, Description: test1" from thread GLThread 628
D / Fabric (23774): No log data to include with this event.

Also, there is still the following exception in the logs:

E/Fabric  (23774): Error performing auto configuration.
E/Fabric  (23774): java.util.concurrent.ExecutionException: java.lang.IllegalStateException: Invalid format of fabric file,fabric/
E/Fabric  (23774):  at java.util.concurrent.FutureTask.report(FutureTask.java:93)
E/Fabric  (23774):  at java.util.concurrent.FutureTask.get(FutureTask.java:163)
E/Fabric  (23774):  at io.fabric.sdk.android.Onboarding.doInBackground(Onboarding.java:105)
E/Fabric  (23774):  at io.fabric.sdk.android.Onboarding.doInBackground(Onboarding.java:45)
E/Fabric  (23774):  at io.fabric.sdk.android.InitializationTask.doInBackground(InitializationTask.java:63)
E/Fabric  (23774):  at io.fabric.sdk.android.InitializationTask.doInBackground(InitializationTask.java:28)
E/Fabric  (23774):  at io.fabric.sdk.android.services.concurrency.AsyncTask$2.call(AsyncTask.java:311)
E/Fabric  (23774):  at java.util.concurrent.FutureTask.run(FutureTask.java:237)
E/Fabric  (23774):  at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:422)
E/Fabric  (23774):  at java.util.concurrent.FutureTask.run(FutureTask.java:237)
E/Fabric  (23774):  at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1112)
E/Fabric  (23774):  at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:587)
E/Fabric  (23774):  at java.lang.Thread.run(Thread.java:841)
E/Fabric  (23774): Caused by: java.lang.IllegalStateException: Invalid format of fabric file,fabric/
E/Fabric  (23774):  at io.fabric.sdk.android.FabricKitsFinder.loadKitInfo(FabricKitsFinder.java:91)
E/Fabric  (23774):  at io.fabric.sdk.android.FabricKitsFinder.call(FabricKitsFinder.java:58)
E/Fabric  (23774):  at io.fabric.sdk.android.FabricKitsFinder.call(FabricKitsFinder.java:35)
E/Fabric  (23774):  ... 4 more


[TOPIC: post.html]
#17

Scott Harrison

[GLOBAL: userInfoPane.html]
Scott Harrison
  • Corona Geek

  • 1,803 posts
  • Enterprise

1. use all events, recordError records a non fatal crash

 

2. You are going to need to post a sample



[TOPIC: post.html]
#18

Scott Harrison

[GLOBAL: userInfoPane.html]
Scott Harrison
  • Corona Geek

  • 1,803 posts
  • Enterprise

1. It seems to be working



[TOPIC: post.html]
#19

zdmitrynsk

[GLOBAL: userInfoPane.html]
zdmitrynsk
  • Observer

  • 29 posts
  • Corona SDK

Does not work. I wrote you a personal message with a login password from the test account.

Attached Files



[TOPIC: post.html]
#20

Scott Harrison

[GLOBAL: userInfoPane.html]
Scott Harrison
  • Corona Geek

  • 1,803 posts
  • Enterprise

Check your test account, it sends a nonfatal crash. I did not change anything in your sample, I did change the package name to the package name on your fabric test2 app. I did notice a bug

 

fabric.sendCrash()

 

should be 

 

fabric.sendCrash("a string")



[TOPIC: post.html]
#21

zdmitrynsk

[GLOBAL: userInfoPane.html]
zdmitrynsk
  • Observer

  • 29 posts
  • Corona SDK

The documentation says fabric.sendCrash () does not have a string parameter. Please correct the documentation. 
I've got to send a crash. But I did not fully understand why the reason was.
The only thing I did is the unusual it removed the application via adb.
adb unistall "name.package"


[TOPIC: post.html]
#22

zdmitrynsk

[GLOBAL: userInfoPane.html]
zdmitrynsk
  • Observer

  • 29 posts
  • Corona SDK

In addition, I think it would be useful to add to your documentation an easy way to add an application to the dashboard fabric.
You just need to build the project with the same package name in android sdk(Android Studio).
I think it will help people to save a lot of time.
Thanks for the help.


[TOPIC: post.html]
#23

Scott Harrison

[GLOBAL: userInfoPane.html]
Scott Harrison
  • Corona Geek

  • 1,803 posts
  • Enterprise

The docs have been updated btw



[TOPIC: post.html]
#24

firerabbit.info

[GLOBAL: userInfoPane.html]
firerabbit.info
  • Contributor

  • 182 posts
  • Corona SDK

Is this really something?

 

 just need to build the project with the same package name in android sdk(Android Studio)

 

 

As in, create new project in Android Stupdio with same same package name/id as Corona project, add crashlytics native,  compile it all using keystore..... then alpha publish on GP to get with some test logs going ...  wait 24 hours for dashboard to show up with new test logs....then go back and Corona Project, rebuild..... and will now all will work?

 

Alex



[TOPIC: post.html]
#25

zdmitrynsk

[GLOBAL: userInfoPane.html]
zdmitrynsk
  • Observer

  • 29 posts
  • Corona SDK

Almost. Publish to the GP is not needed. And I did not wait 24 hours, the project was added instantly. This is what I was advised in technical support. It helped me.




[topic_controls]
Page 1 of 2 1 2
 
[/topic_controls]

Also tagged with one or more of these keywords: fabric, crash, crashlytics