@nrwl/react-native:run-android
Run Android target options.
Options can be configured in project.json when defining the executor, or when invoking it. Read more about how to configure targets and executors here: https://nx.dev/configuration/projectjson#targets.
Options
appId
Specify an applicationId to launch after build. If not specified, package from AndroidManifest.xml will be used.
appIdSuffix
Specify an applicationIdSuffix to launch after build.
deviceId
Builds your app and starts it on a specific device/simulator with the given device id (listed by running adb devices on the command line).
interactive
trueRun packager server in interactive mode.
jetifier
trueRun Jetifier – the AndroidX transition tool. By default it runs before Gradle to ease working with libraries that don't support AndroidX yet.
mainActivity
MainActivityName of the activity to start.
port
8081The port where the packager server is listening on.
packager
trueStarts the packager server.
resetCache
falseResets metro cache.
sync
trueSyncs npm dependencies to package.json (for React Native autolink).
tasks
Run custom Gradle tasks. If this argument is provided, then --variant option is ignored. Example: yarn react-native run-android --tasks clean,installDebug.
terminal
Launches the Metro Bundler in a new window using the specified terminal path.
variant
debugSpecify your app's build variant (e.g. debug, release).