I get these crash reports from my crash reporting tools. I do not provide the code here, so just let me know if you want to see any specific code.
I did not add anything related to GoogleAnalytics in the onStart method, since it is not mentioned in the documentation.
Fatal Exception: java.lang.RuntimeException Cannot start the com.google.android.gms.analytics.AnalyticsService@3399b37 with a null value: java.lang.NullPointerException: attempt to call the virtual method 'java.lang.String android.content.Intent.getAction ()' on a null object Link
java.lang.RuntimeException: cannot start the com.google.android.gms.analytics.AnalyticsService@3399b37 with a null value: java.lang.NullPointerException: attempt to call the virtual method 'java.lang.String android.content.Intent.getAction ()' on the null help object at android. app.ActivityThread.handleServiceArgs (ActivityThread.java:2910) at android.app.ActivityThread.access $ 2200 (ActivityThread.java:147) at android.app.ActivityThread $ H.handleMessage (ActivityThread.java:1394) on android.os. Handler.dispatchMessage (Handler.java:102) on android.os.Looper.loop (Looper.java:135) at android.app.ActivityThread.main (ActivityThread.javaโ254) in java.lang.reflect.Method.invoke (Method.java) at java.lang.reflect.Method.invoke (Method.javahaps72) at com.android.internal.os.ZygoteInit $ MethodAndArgsCaller.run (ZygoteInit.java:898) at com.android.internal. os.Zy goteInit.main (ZygoteInit.java:693) Called: java.lang.NullPointerException: attempt to call the virtual method 'java.lang.String android.content.Intent.getAction ()' at zero the reference to the object at com.google.android. gms.analytics.AnalyticsService.onStartCommand () at android.app.ActivityThread.handleServiceArgs (ActivityThread.java:2893) at android.app.ActivityThread.access $ 2200 (ActivityThread.java:147) at android.app.ActivityThread $ H.handleMessage (ActivityThread.java:1394) on android.os.Handler.dispatchMessage (Handler.java:102) on android.os.Looper.loop (Looper.java:135) at android.app.ActivityThread.main (ActivityThread.java: 5254) in java.lang.reflect.Method.invoke (Method.java) in java.lang.reflect.Method.invoke (Method.javahaps72) at com.android.internal.os.ZygoteInit $ MethodAndArgsCaller.run (ZygoteInit .java: 898) at com.android.internal.os.ZygoteInit.main ( ZygoteInit.java:693)
source share