Ram7585741
Posts: 0
Joined: Fri Jun 12, 2015 9:38 pm

google analytics plugin crashing in Lollipop version

I added google analytics following the appery tutorial. It ran in all versions below 5.0

But When i run it on a lollipop device, the app crashed with the following error.

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:1828)
at android.app.ContextImpl.bindServiceCommon(ContextImpl.java:1927)
at android.app.ContextImpl.bindService(ContextImpl.java:1905)
at android.content.ContextWrapper.bindService(ContextWrapper.java:539)
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)

Illya Stepanov
Posts: 0
Joined: Mon Mar 18, 2013 8:48 am

google analytics plugin crashing in Lollipop version

Hello -

Could you please specify which exact tutorial you are following?

Illya Stepanov
Posts: 0
Joined: Mon Mar 18, 2013 8:48 am

google analytics plugin crashing in Lollipop version

Thanks for reporting this, we will check this out.

Ram7585741
Posts: 0
Joined: Fri Jun 12, 2015 9:38 pm

google analytics plugin crashing in Lollipop version

i found this topic in stackoverflow

http://stackoverflow.com/questions/26...

they talk about moving to google analytics version 3. we have only GA Version 2 in appery.

So, I just reduced the target SDK version to 4.2 from 5.0. Now its working on lollipop due to backward compatibility, i guess.

But still, pls do clarify from your end if there is any info on google analytics crash.

Evgene Karachevtsev
Posts: 12
Joined: Mon Apr 28, 2014 1:12 pm

google analytics plugin crashing in Lollipop version

Hello,

Thank you for the feedback, we reported this issue as the bug, our development team is working on it.

Return to “Issues”