Android SDK integration for developers

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

1. Overview


AppsFlyer Android SDK provides app install and event recording functionality to Android apps. The SDK can be used with Java/Kotlin.

Embed the SDK in your app to record:

  • App installs
  • User engagement (for example, sessions and in-app events)

1.1 SDK integration—what you need to do

Tab Purpose After completion

SDK integration (Mandatory)

Add and configure the SDK
  • A new organic install in your app dashboard.
  • A new non-organic install in your app dashboard.

Core APIs (Recommended)

Measure in-app events and revenue, Enable deep linking and gathering conversion data
  • In-app events and revenue appear on your dashboard.
  • You are able to perform deep linking.

Additional APIs

Implement and use optional APIs.

For example, Uninstall measurement and referrals attribution.

  • You are able to measure uninstalls, referrals, and user engagement with push notifications.

API reference

SDK APIs reference document


1.2 SDK compatibility with Android 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, like Amazon, and Baidu
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

Please sign in to leave a comment.