package
This package is part of the [React Native CLI](../../README.md). It contains commands for managing the Android part of React Native app.
npm install @react-native-community/cli-platform-androidGitHub-flavored package documentation.
Across all versions.
Download trend unavailable.
Runtime metadata.
Latest published Nov 12, 2026
18.x
titozzz
malbranche.thibault@gmail.com
mattoakes
hello@mattoakes.net
ferrannp
fnp.developer@gmail.com
mike866
michal.chudziak@gmail.com
krizzu
dev@kborowy.com
trensik
dawid.urbaniak.dev@gmail.com
thymikee
thymikee@gmail.com
nicholaslee119
nicholaslee119@gmail.com
mmazzarolo
me@mazzarolomatteo.com
rewieer
ancyr@pm.me
janicduplessis
janicduplessis@gmail.com
swaagie
martijn@swaagman.online
kelset
notkelset@kelset.dev
johandutoit
jdutoit.dev@gmail.com
vonovak
vonovak@gmail.com
wojteg1337
feelun132@gmail.com
naturalclar
jesse.katsumata@gmail.com
connectdotz
vsun@connectdotz.com
pvinis
pvinis@gmail.com
brentvatne
brentvatne@gmail.com
evanbacon
baconbrix@gmail.com
eliwhite
npm@eli-white.com
simek
gosimek@gmail.com
alloy
eloy.de.enige@gmail.com
cortinico
corti.nico@gmail.com
safaiyeh
safaiyeh@protonmail.com
dmitryrykun
dmitry.rykun@gmail.com
lunaleaps
lunaleaps@gmail.com
wootwootwoot
platcool@gmail.com
react-native-bot
opensource+react-native-bot@fb.com
szymonrybczak
szymon.rybczak@gmail.com
react-native-community-bot
malbranche.thibault+bot@gmail.com
okwasniewski
oskar@okwasniewski.com
This package is part of the React Native CLI. It contains commands for managing the Android part of React Native app.
yarn add @react-native-community/cli-platform-androidrun-androidUsage:
npx react-native run-android [options]Builds your app and starts it on a connected Android emulator or device.
--appId <string>Specify an applicationId to launch after build. If not specified, package from AndroidManifest.xml will be used.
--appIdSuffix <string>Specify an applicationIdSuffix to launch after build.
--main-activity <string>default: 'MainActivity'
Name of the activity to start.
--device <string>Explicitly set the device to use by name. The value is not required if you have a single device connected.
--deviceId <string>DEPRECATED - use
--device <string>instead
Builds your app and starts it on a specific device with the given device id (listed by running "adb devices" on the command line).
--no-packagerDo not launch packager while building.
--port <number>default: process.env.RCT_METRO_PORT || 8081
--terminal <string>default: process.env.REACT_TERMINAL || process.env.TERM_PROGRAM
Launches the Metro Bundler in a new window using the specified terminal path.
--tasks <list>default: 'installDebug'
Run custom gradle tasks. If this argument is provided, then --mode option is ignored.
Example: yarn react-native run-android --tasks clean,installDebug.
--active-arch-onlydefault: false
Build native libraries only for the current device architecture for debug builds.
--list-devicesdefault: false
List all available Android devices and simulators and let you choose one to run the app.
--interactive, -iManually select a task and device/simulator you want to run your app on.
[!WARNING]
This flag is running./gradlew tasksunder the hood, which might take some time for more complex apps. If that affects your project, consider using--modeand--deviceIdflags instead.
build-androidUsage:
npx react-native build-android [options]Builds Android app.
--mode <string>default: debug
Mode to build the app. Either 'debug' (default) or 'release'.
--extra-params <string>Custom params that will be passed to gradle build command. Example:
npx react-native build-android --extra-params "-x lint -x test"--binary-path <path>Installs passed binary instead of building a fresh one. This command is not compatible with --tasks.
--user <number | string>Id of the User Profile you want to install the app on.
log-androidUsage:
npx react-native log-androidStarts logkitty displaying pretty Android logs.
Estimated unpacked size across 62 packages.
4.6 MB+
Includes dependencies.
5 direct · 1 outdated