Add the React Native dependency to your app's build.gradle file:
dependencies {
- compile 'com.android.support:appcompat-v7:23.0.1'
+dependencies {
+ implementation 'com.android.support:appcompat-v7:27.1.1'
...
- compile "com.facebook.react:react-native:+" // From node_modules
+ implementation "com.facebook.react:react-native:+" // From node_modules
}
diff --git a/docs/next/integration-with-existing-apps/index.html b/docs/next/integration-with-existing-apps/index.html
index 6f381892cab..ebdca4841e0 100644
--- a/docs/next/integration-with-existing-apps/index.html
+++ b/docs/next/integration-with-existing-apps/index.html
@@ -465,10 +465,10 @@ $ react-native run-ios
Adding React Native to your app
Configuring maven
Add the React Native dependency to your app's build.gradle file:
-dependencies {
- compile 'com.android.support:appcompat-v7:23.0.1'
+dependencies {
+ implementation 'com.android.support:appcompat-v7:27.1.1'
...
- compile "com.facebook.react:react-native:+" // From node_modules
+ implementation "com.facebook.react:react-native:+" // From node_modules
}