Android SDK integration guide for marketers

At a glance: Integrate AppsFlyer SDK into Android apps to measure installs, in-app events, media sources, and more.

1. Overview


The SDK provides app installation and event recording functionality. You can record installs, updates, sessions, and in-app events. In-app events include, for example, in-app purchases or leveling up in a game. Recording these events can help you evaluate ROI and user quality. 

The SDK integration requires that the marketer and the developer work together. This guide describes the integration steps that the marketer must perform and gives links to the documentation that the marketer should provide to the developer.

This article describes the SDK integration process for V6+. Additional documentation includes the following:

1.1 SDK compatibility 

The AppsFlyer Android SDK is compatible with the following platforms:

  • Starting Android V4.0
  • Non-mobile Android-based platforms, such as Smart TVs (including Amazon Fire TV)
  • Out-of-store markets for Android apps, such as Amazon and Baidu

1.2 SDK integration

The SDK integration includes the following:

Tab Purpose After completion

SDK integration [Mandatory]

  1. Retrieve the AppsFlyer dev key and send the link to the developer.
  2. Send the developer instructions for installing the SDK in your app and integrating the SDK.
  3. Work with the developer to test the SDK integration.
Basic attribution reporting can begin for your app. You can start to view real-time LTV user-acquisition (UA) performance in the dashboard.

Core APIs [Recommended]

  • View in-app events and revenue on your dashboard and understand actions performed by users after conversion.
  • Use deep linking to direct new users to personalized content, or run retargeting campaigns and serve existing users customized content.

Additional APIs

Work with your developer to implement optional APIs such as: 

Measure uninstalls, referrals, user engagements with push notifications, and manage user privacy scenarios.

The SDK reference documentation for developers is available here .

Was this article helpful?


  • Hi there!

    AppsFlyer Android SDK version 5.2.0 has been released.
    Why should you update to it?

    Besides maintenance and bug fixes the new version introduces the following features :
    * Allow initialization of SDK in any activity
    * Extended security, logging, and debugging capabilities

    If you use these features or haven't updated the SDK in a while, we recommend doing so.

    Comment actions Permalink
  • Hello there!

    AppsFlyer Android SDK version 5.3.0 has been released!

    In addition to regular maintenance and bug fixes, the following features have been introduced:
    * Direct deep linking attribution data can be accessed at any time
    * Additional parameters are available for cross-promotion impressions

    If you need these features or haven't updated the SDK in a while, we recommend doing so.


    Comment actions Permalink
  • Hi everyone!

    AppsFlyer Android SDK version 5.4.1 has been released! This version includes general bug fixes and improvements, plus a new setSharingFilter API that allows advertisers to control sharing data with integrated partners/networks.

    If you need these features or haven't updated the SDK in a while, this is a great time to do so :)

    Comment actions Permalink
  • Hi everyone!

    Android SDK V6.3.0 was released last week! Please see the release notes for more details:

    Comment actions Permalink
  • Hi everyone!

    Recently we’ve released two Android SDK updates: V6.3.1 and V6.3.2.
    For more details, see the release notes:

    Comment actions Permalink

Please sign in to leave a comment.