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
- edit
pack_gms.shand insert yourANDROID_SDK_ROOTand thePLAY_SERVICES_VERSION(it must be available in$ANDROID_SDK_ROOT/extras/google/m2repository/com/google/android/gms/play-services) - run
pack_gms.sh - done, you have a new
google-play-services.jarwithPLAY_SERVICES_VERSIONchosen version - you can customize it with a lite strip version, enabling/disabling the services you want, using the following instructions
- edit strip.conf to enable/disable sevice as you want
- run strip_play_services.sh
Check out the dependency table here
All Credit gose to dextorer for his great blog and gist
Dependency data is from yyama2's blog
Contributors