Skip to content

A lite version of google play service that only contains essential component

License

Notifications You must be signed in to change notification settings

darkdukey/Google-Play-Service-Lite

Repository files navigation

Google Play Service Lite

Intro

This script is for eclipse/ant user who has problem building their android app because of the 65535 methods limit

In a word, if you encountered a Unable to execute dex: method ID not in [0, 0xffff]: 65536 error, this is for you.

Note: For gradle/android studio users, google has posted a fix here

It contains a original copy of google play serivce 10.0.1(v38), which can be customized based on your project

How to update full Google Play Service Package

  1. edit pack_gms.sh and insert your ANDROID_SDK_ROOT and the PLAY_SERVICES_VERSION (it must be available in $ANDROID_SDK_ROOT/extras/google/m2repository/com/google/android/gms/play-services)
  2. run pack_gms.sh
  3. done, you have a new google-play-services.jar with PLAY_SERVICES_VERSION chosen version
  4. you can customize it with a lite strip version, enabling/disabling the services you want, using the following instructions

How to customize your own Google Play Service Package

  1. edit strip.conf to enable/disable sevice as you want
  2. run strip_play_services.sh

Google Play Service dependency table

Check out the dependency table here

Credits

All Credit gose to dextorer for his great blog and gist

Dependency data is from yyama2's blog

Contributors

yinjimmy

Astrovic

About

A lite version of google play service that only contains essential component

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages