Strona główna Google Play services divided into small parts - AT LAST (UPDATE - 7.0)
Wpis
Anuluj

Google Play services divided into small parts - AT LAST (UPDATE - 7.0)

Google Play services divided into small parts - AT LAST (UPDATE - 7.0)

So far, Google didn’t allow developers to use a small parts of Google Play Services library - if you want to use just Google Signup - you had to pull whole big library, which end finally in 65K DEX method limit, or use some strange Gradle modification, which slow down building process. At last Google have listened to developers, and split Google Play Services into small libraries along with version 6.5.87 (current is 7.0.0).

For this version, you can use a number of smaller client libraries, so that only these chosen ones will get compiled into your .dex file, and therefore their methods won’t count towards method limit. This is, what you can use now:

Google Play services APIDescription in build.gradle
Google+com.google.android.gms:play-services-plus:7.0.0
Google Account Logincom.google.android.gms:play-services-identity:7.0.0
Google Actions, Base Client Librarycom.google.android.gms:play-services-base:7.0.0
Google App Indexingcom.google.android.gms:play-services-appindexing:7.0.0
Google Analyticscom.google.android.gms:play-services-analytics:7.0.0
Google Castcom.google.android.gms:play-services-cast:7.0.0
Google Cloud Messagingcom.google.android.gms:play-services-gcm:7.0.0
Google Drivecom.google.android.gms:play-services-drive:7.0.0
Google Fitcom.google.android.gms:play-services-fitness:7.0.0
Google Location, Activity Recognition, and Placescom.google.android.gms:play-services-location:7.0.0
Google Mapscom.google.android.gms:play-services-maps:7.0.0
Google Mobile Adscom.google.android.gms:play-services-ads:7.0.0
Google Nearbycom.google.android.gms:play-services-nearby:7.0.0
Google Panorama Viewercom.google.android.gms:play-services-panorama:7.0.0
Google Play Game servicescom.google.android.gms:play-services-games:7.0.0
SafetyNetcom.google.android.gms:play-services-safetynet:7.0.0
Google Walletcom.google.android.gms:play-services-wallet:7.0.0
Android Wearcom.google.android.gms:play-services-wearable:7.0.0

More info

Ten post jest udostępniony na licencji CC BY 4.0 przez autora.

Nowe możliwości nowego Gradle

Media scanning