title | description |
---|---|
@nrwl/react-native:run-android executor |
Runs Android application. |
Runs Android application.
Options can be configured in workspace.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.
Type: string
Specify an applicationId to launch after build. If not specified, 'package' from AndroidManifest.xml will be used.
Type: string
Specify an applicationIdSuffix to launch after build.
Type: string
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).
Default: true
Type: boolean
Run packager server in interactive mode.
Default: true
Type: boolean
Run jetifier – the AndroidX transition tool. By default it runs before Gradle to ease working with libraries that don't support AndroidX yet.
Default: MainActivity
Type: string
Name of the activity to start.
Default: true
Type: boolean
Starts the packager server.
Default: 8081
Type: number
The port where the packager server is listening on.
Default: false
Type: boolean
Resets metro cache.
Default: true
Type: boolean
Syncs npm dependencies to package.json (for React Native autolink).
Type: string
Run custom gradle tasks. If this argument is provided, then --variant option is ignored. Example: yarn react-native run-android --tasks clean,installDebug.
Type: string
Launches the Metro Bundler in a new window using the specified terminal path.
Default: debug
Type: string
Specify your app's build variant (e.g. debug, release).