diff --git a/releases/next/docs/integration-with-existing-apps.html b/releases/next/docs/integration-with-existing-apps.html index 2b1a104476c..621592355c6 100644 --- a/releases/next/docs/integration-with-existing-apps.html +++ b/releases/next/docs/integration-with-existing-apps.html @@ -360,7 +360,7 @@ public boolean onKeyUpreturn true; } return super.onKeyUp(keyCode, event); -}

That's it, your activity is ready to run some JavaScript code.

Run your app #

To run your app, you need to first start the development server. To do this, simply run the following command in your root folder:

$ npm start

Now build and run your Android app as normal (./gradlew installDebug from command-line; in Android Studio just create debug build as usual).

If you are using Android Studio for your builds and not the Gradle Wrapper directly, make sure you install watchman before running npm start. It will prevent the packager from crashing due to conflicts between Android Studio and the React Native packager.

Once you reach your React-powered activity inside the app, it should load the JavaScript code from the development server and display:

Screenshot