When I launch my application from the Android studio on the device or when I download and install it from a direct APK file, sometimes there is a black screen , and after a few seconds a request appears with the application crashing a message.
There is no information about this in logcat, except:
Wrote the stack trace in '/data/anr/traces.txt'
So, I opened this file, but I do not understand what I have to look inside it.
Perhaps abstract lines:
----- pid 28645 at 2014-12-12 14:44:02 ----- Cmd line: fr.myapp.www.myapp DALVIK THREADS: (mutexes: tll=0 tsl=0 tscl=0 ghl=0) "main" prio=5 tid=1 MONITOR | group="main" sCount=1 dsCount=0 obj=0x4109b9a0 self=0x4108a450 | sysTid=28645 nice=-11 sched=0/0 cgrp=[fopen-error:2] handle=1074673116 | state=S schedstat=( 0 0 0 ) utm=4 stm=2 core=1 at com.google.android.gms.analytics.ae.getLogger((null):~-1) - waiting to lock <0x41686d38> held by tid=13 (client_id_fetcher) at com.google.android.gms.analytics.ae.W((null):-1) at com.google.android.gms.analytics.z$af((null):-1) at com.google.android.gms.analytics.na((null):-1) at com.google.android.gms.analytics.nx((null):-1) at com.google.android.gms.analytics.GoogleAnalytics.eZ((null):-1) at com.google.android.gms.analytics.GoogleAnalytics.<init>((null):-1) at com.google.android.gms.analytics.GoogleAnalytics.<init>((null):-1) at com.google.android.gms.analytics.GoogleAnalytics.getInstance((null):-1) at fr.myapp.www.myapp.MyAppApplication.getTracker(MyAppApplication.java:36) at fr.myapp.www.myapp.DashboardActivity.onCreate(DashboardActivity.java:41) at android.app.Activity.performCreate(Activity.java:5326) at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1097) at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2225) at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2316) at android.app.ActivityThread.access$700(ActivityThread.java:158) at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1296) at android.os.Handler.dispatchMessage(Handler.java:99) at android.os.Looper.loop(Looper.java:176) at android.app.ActivityThread.main(ActivityThread.java:5365) at java.lang.reflect.Method.invokeNative(Native Method) at java.lang.reflect.Method.invoke(Method.java:511) at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:1102) at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:869) at dalvik.system.NativeStart.main(Native Method)
Maybe I'm wrong, but can these crashes appear in Google Analytics?
Any help with these random glitches?
Thanks;)
source share