Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Google Play Services - Where is SafeParcelable?

Which granular play-services contains the following class?

com.google.android.gms.common.internal.safeparcel.SafeParcelable

I've currently got the following dependencies, but I get an error where it can't find SafeParcelable.

  • play-services-base-8.4.0

  • play-services-location-8.4.0

  • play-services-maps-8.4.0

In case it matters, I'm using Buck for my Android project, and including these aars directly from my m2repository.

like image 374
vanguard Avatar asked Mar 06 '16 03:03

vanguard


People also ask

Can I delete Google Play Services data?

Clear cache data for the Google Play Store app and Google Play Services (Go to Settings > Apps or Application Manager > Google Play Services > Clear cache > OK).

What happens if I clear all data on Google Play Services?

Clearing the cache will remove temporary files associated with Google Play on your device, while clearing the data will remove any personal settings. When troubleshooting a problem, you can clear both. Clearing your Google Play cache and data will not delete any apps or other programs you have downloaded.

Can I turn off Google Play Services?

Go to Settings > Applications > All > Google Play Services > Tap Disable > Tap OK to confirm. Method 2. If you find the Disable checkbox is grayed out, please Go to Settings > Security > Device administrators > Disable Android Device Manager.


1 Answers

I have confirmed that the class com.google.android.gms.common.internal.safeparcel.SafeParcelable exists in play-services-base-8.4.0.jar.

However, you indicated that you are using AAR files, not JARs. I search the contents of these and found that this class now (version 8.4.0) exists in the following AAR file:

play-services-basement-8.4.0.aar

like image 92
EJK Avatar answered Sep 24 '22 23:09

EJK