apply plugin: 'com.android.library' android { compileSdkVersion 23 buildToolsVersion "23.0.1" defaultConfig { minSdkVersion 16 targetSdkVersion 22 versionCode 1 versionName "1.0" } defaultPublishConfig 'release' publishNonDefault true productFlavors { library { } } buildTypes { release { minifyEnabled false } debug { minifyEnabled false } } } repositories { maven { // All of React Native (JS, Obj-C sources, Android binaries) is installed from npm url '../../../react-native/android' } } dependencies { compile fileTree(dir: "libs", include: ["*.jar"]) compile "com.aurelhubert:ahbottomnavigation:1.2.3" compile "com.android.support:appcompat-v7:23.0.1" compile 'com.android.support:design:23.1.1' compile "com.facebook.react:react-native:+" // From node_modules }