# TIP: Use Android Gradle Dependencies in Native Code

DevFeed: [TIP: Use Android Gradle Dependencies in Native Code](<https://devfeed.tech/articles/tip-use-android-gradle-dependencies-in-native-code-19605.md>)

Original publisher: [Read original article](<https://www.codenameone.com/blog/tip-use-android-gradle-dependencies-native-code/>)

Author: Shai Almog

Published: 2017-02-05T00:00:00Z

Content type: tutorial

Language: en

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

Topics: [Android](<https://devfeed.tech/topics/android.md>), [Gradle](<https://devfeed.tech/topics/gradle.md>), [Code](<https://devfeed.tech/topics/code.md>), [Android Studio](<https://devfeed.tech/topics/android-studio.md>)

Tags: [android](<https://devfeed.tech/tags/android.md>), [android-studio](<https://devfeed.tech/tags/android-studio.md>), [code](<https://devfeed.tech/tags/code.md>), [dependencies](<https://devfeed.tech/tags/dependencies.md>), [gradle](<https://devfeed.tech/tags/gradle.md>)

## AI overview

A tutorial explaining how to integrate Android Gradle dependencies into Codename One native code. It describes adding dependencies and, when required, specifying Android SDK and Google Play services versions for libraries such as Intercom.

## Source excerpt

Integrating a native OS library isn't hard but it sometimes requires some juggling. Most instructions target developers working with xcode or Android Studio & you need to twist your head around them. In Android the steps for integration in most modern libraries include a gradle dependency. E.g. we recently published a library that added support for Intercom. The native Android integration instructions for the library looked like this: Add the following dependency to your app's build.gradle file: