Page 1 of 1

App crashes due to com.google.analytics.tracking.android

Posted: Thu May 12, 2016 6:52 am
by hb condo

When my app starts, it immediately crashes and the user is presented with the alert "has stopped working". Google App store reports this as a crash with the following stack trace from a Samsung Galaxy S6 running Android 5.1

java.lang.IllegalArgumentException: Service Intent must be explicit: Intent { act=com.google.android.gms.analytics.service.START (has extras) }
at android.app.ContextImpl.validateServiceIntent(ContextImpl.java:2124)
at android.app.ContextImpl.bindServiceCommon(ContextImpl.java:2248)
at android.app.ContextImpl.bindService(ContextImpl.java:2226)
at android.content.ContextWrapper.bindService(ContextWrapper.java:560)
at com.google.analytics.tracking.android.AnalyticsGmsCoreClient.connect(AnalyticsGmsCoreClient.java:82)
at com.google.analytics.tracking.android.GAServiceProxy.connectToService(GAServiceProxy.java:279)
at com.google.analytics.tracking.android.GAServiceProxy.createService(GAServiceProxy.java:163)
at com.google.analytics.tracking.android.GAThread.init(GAThread.java:95)
at com.google.analytics.tracking.android.GAThread.run(GAThread.java:493)


App crashes due to com.google.analytics.tracking.android

Posted: Thu May 12, 2016 10:35 am
by Serhii Kulibaba

Hello,

Please clarify, what libraries version do you use? Did you make any changes in the source view? This (http://devcenter.appery.io/tutorials/...) doc should help.


App crashes due to com.google.analytics.tracking.android

Posted: Fri May 13, 2016 5:49 am
by hb condo

No changes have been made to the source view and is running version 3.1


App crashes due to com.google.analytics.tracking.android

Posted: Sat May 14, 2016 12:40 am
by hb condo

Why is Appery using such an old version of the GA plugin? This is a known issue per Android development on GitHub. Please upgrade.

https://github.com/libreliodev/androi...

Image


App crashes due to com.google.analytics.tracking.android

Posted: Sat May 14, 2016 3:54 am
by BananaGator

You can upload the new version within the Plugins page of your account. The Cordova version Appery uses may not be compatible, however.


App crashes due to com.google.analytics.tracking.android

Posted: Wed May 18, 2016 9:19 pm
by Alexis Revue

https://getsatisfaction.com/apperyio/...

How can we upload the new version of GA plugin?