Android SDK integration

Integrate your Android app with Localytics.

Before you begin

  • Localytics Android library version 2.65 is required for the new user-resettable, unique, anonymous advertising ID (GAID) provided by Google Play services. Localytics automatically collects the new advertising ID for advertising purposes, including improved attribution of new users to your advertising campaigns. Localytics will continue to collect the Android ID, which is still provided for non-advertising purposes.
  • Make sure to include Android v4 Support Library (revision 19.1.0 or greater) in your project. More information on support libraries can be found here.
  • If you are using push messaging or attribution for advertising campaigns, make sure to include Google Play Services in your project. More information on Google Play Services can be found here.
  • If you use Proguard for obfuscation, be sure to read Building with Proguard.

Automatic or manual?

This guide outlines an automatic and a manual approach to integrating Localytics.