# Tip: Disable Google Play Services

DevFeed: [Tip: Disable Google Play Services](<https://devfeed.tech/articles/tip-disable-google-play-services-19571.md>)

Original publisher: [Read original article](<https://www.codenameone.com/blog/tip-disable-google-play-services/>)

Author: Shai Almog

Published: 2016-10-09T00:00:00Z

Content type: tutorial

Language: en

Sources: [CodeName One](<https://devfeed.tech/sources/codename-one.md>)

Topics: [Google Play](<https://devfeed.tech/topics/google-play.md>), [App](<https://devfeed.tech/topics/app.md>), [APK](<https://devfeed.tech/topics/apk.md>)

Tags: [apk](<https://devfeed.tech/tags/apk.md>), [app-size](<https://devfeed.tech/tags/app-size.md>), [developer-guide](<https://devfeed.tech/tags/developer-guide.md>), [google-play](<https://devfeed.tech/tags/google-play.md>)

## AI overview

A Codename One build hint can disable included Google Play Services when an app does not use Ads, Push, Maps, or Location. The article states that removing the unused services can reduce the final APK by about 1.5 MB and avoid an ads-framework warning when appropriate.

## Source excerpt

Google Play Services is a proprietary set of tools that Google licenses to vendors under limited conditions. In recent years more and more features go into Google Play Services making it harder to build an app without it. In our effort to "do the right thing" we include some of the Google Play Services tools into applications to remain compatible with code that requires these libraries. This also makes some features (such as location) work better. However, if you don't use: Ads, Push, Maps or Location then you might not need Google Play Services at all...