简体   繁体   中英

Android Google Play Services Library, Analytics strange output

I am getting a funny output in my console when using Google Analytics via Google Play Services Library. This only happens when I send the first Tracker send.

03-31 13:07:27.426: I/dalvikvm(17463): Could not find method android.content.pm.PackageManager.getPackageInstaller, referenced from method com.google.android.gms.common.GooglePlayServicesUtil.zzg

And

03-31 13:19:01.386: W/dalvikvm(19440): VFY: unable to resolve virtual method 442: Landroid/content/pm/PackageManager;.getPackageInstaller ()Landroid/content/pm/PackageInstaller;

I don't appear to be receiving data in analytics although it says that it sends the hit. I am using Analyticsv4 through Google Play Services SDK. I have no idea what the problem is.

I have had the same issue crop up on Apr 2 and have resolved today on one of my devices.

Samsung NOTE 3: I manually updated GooglePlayServices to 7.0.99 (4.4.4) and now it's working (No more GPS messages exactly as you've stated above). Samsung NOTE 4: I left at GPS 7.0.86 (4.4.4) and it's still not working - same messages you have above. Nexus: No issues as it was updated already to .99.

Thankfully GPS is updated frequently - I'm thinking to add code to check to see if GPS is at latest release level if we get an error (in my case a crash for the NOTE4). Not sure if I can do this but may be worth a try.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM