Component SDKs of the Facebook SDK for Android

The Facebook SDK for Android consists of the following component SDKs:

If you don't need the functionality of the full Facebook SDK for Android, you can save space by using only the component SDKs that you need to support the Facebook products that you want to use in your app.

Note that when you use one of the Facebook SDKs, events in your app are automatically logged and collected for Facebook Analytics unless you disable automatic event logging. For details about what information is collected and how to disable automatic event logging, see Automatic App Event Logging.

To link with Maven to one of the component SDKs in your project, add one of the following implementation statements to your build script:

  • implementation '[8,9)'
  • implementation '[8,9)'
  • implementation '[8,9)'
  • implementation '[8,9)'
  • implementation '[8,9)'

To add an implementation statement:

  1. In your project, open your_app | Gradle Scripts | build.gradle (Project) and add the following repository to the buildscript { repositories {}} section to download the SDK from the Maven Central Repository:
  2. In your project, open your_app | Gradle Scripts | build.gradle (Module: app) and add one or more of the implementation statements to the dependencies{} section.
  3. Build your project.


You can also download the entire Facebook SDK for Android.

See facebook/facebook-android-sdk on GitHub.