{"name":"@react-native-community/cli-platform-android","version":"16.0.2","license":"MIT","_id":"@react-native-community/cli-platform-android@16.0.2","homepage":"https://github.com/react-native-community/cli/tree/main/packages/cli-platform-android","bugs":{"url":"https://github.com/react-native-community/cli/issues"},"dist":{"shasum":"772ee5e734a30d708189c9594018f4efe313486a","tarball":"http://registry-npm.ywwl.com/@react-native-community/cli-platform-android/download/@react-native-community/cli-platform-android-16.0.2.tgz","fileCount":73,"integrity":"sha512-QqHc3wsyabwzP/xBrlvhrqNMpZIbI9OlfgpDHSkOYWF9othOIlE3y7QD00ng/cNhocXgRjE3n8cc81BgmbI+EQ==","signatures":[{"sig":"MEUCIEhj73O0g2znveegnXRhoH8luEe2+MzuDMcKeeOg6jX1AiEAwT+OfdKM27Vc8rkZ2NEmRUP82HDIGrxHv37Rom+duBE=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":144729,"size":38119,"noattachment":false,"key":"/@react-native-community/cli-platform-android/-/@react-native-community/cli-platform-android-16.0.2.tgz"},"main":"build/index.js","types":"./build/index.d.ts","gitHead":"feba14cf36de2fdefa41c7052841a5ee34c19084","_npmUser":{"name":"thymikee","email":"thymikee@gmail.com"},"repository":{"url":"git+https://github.com/react-native-community/cli.git","type":"git","directory":"packages/platform-android"},"_npmVersion":"lerna/7.1.5/node@v22.11.0+arm64 (darwin)","description":"This package is part of the [React Native CLI](../../README.md). It contains commands for managing the Android part of React Native app.","directories":{},"_nodeVersion":"22.11.0","dependencies":{"chalk":"^4.1.2","execa":"^5.0.0","logkitty":"^0.7.1","@react-native-community/cli-tools":"16.0.2","@react-native-community/cli-config-android":"16.0.2"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"@react-native-community/cli-types":"16.0.2"},"_npmOperationalInternal":{"tmp":"tmp/cli-platform-android_16.0.2_1733999267624_0.9401037013320628","host":"s3://npm-registry-packages-npm-production"},"readme":"# @react-native-community/cli-platform-android\n\nThis package is part of the [React Native CLI](../../README.md). It contains commands for managing the Android part of React Native app.\n\n## Installation\n\n```sh\nyarn add @react-native-community/cli-platform-android\n```\n\n## Commands\n\n### `run-android`\n\nUsage:\n\n```sh\nnpx react-native run-android [options]\n```\n\nBuilds your app and starts it on a connected Android emulator or device.\n\n#### Options\n\n#### `--appId <string>`\n\nSpecify an `applicationId` to launch after build. If not specified, `package` from AndroidManifest.xml will be used.\n\n#### `--appIdSuffix <string>`\n\nSpecify an `applicationIdSuffix` to launch after build.\n\n#### `--main-activity <string>`\n\n> default: 'MainActivity'\n\nName of the activity to start.\n\n#### `--device <string>`\n\nExplicitly set the device to use by name. The value is not required if you have a single device connected.\n\n#### `--deviceId <string>`\n\n> **DEPRECATED** - use `--device <string>` instead\n\nBuilds your app and starts it on a specific device with the given device id (listed by running \"adb devices\" on the command line).\n\n#### `--no-packager`\n\nDo not launch packager while building.\n\n#### `--port <number>`\n\n> default: process.env.RCT_METRO_PORT || 8081\n\n#### `--terminal <string>`\n\n> default: process.env.REACT_TERMINAL || process.env.TERM_PROGRAM\n\nLaunches the Metro Bundler in a new window using the specified terminal path.\n\n#### `--tasks <list>`\n\n> default: 'installDebug'\n\nRun custom gradle tasks. If this argument is provided, then `--mode` option is ignored.\nExample: `yarn react-native run-android --tasks clean,installDebug`.\n\n#### `--active-arch-only`\n\n> default: false\n\nBuild native libraries only for the current device architecture for debug builds.\n\n#### `--list-devices`\n\n> default: false\n\nList all available Android devices and simulators and let you choose one to run the app.\n\n#### `--interactive`, `-i`\n\nManually select a task and device/simulator you want to run your app on.\n\n> [!WARNING]  \n> This flag is running `./gradlew tasks` under the hood, which might take some time for more complex apps. If that affects your project, consider using `--mode` and `--deviceId` flags instead.\n\n### `build-android`\n\nUsage:\n\n```sh\nnpx react-native build-android [options]\n```\n\nBuilds Android app.\n\n#### Options\n\n#### `--mode <string>`\n\n> default: debug\n\nMode to build the app. Either 'debug' (default) or 'release'.\n\n#### `--extra-params <string>`\n\nCustom params that will be passed to gradle build command.\nExample:\n\n```sh\nnpx react-native build-android --extra-params \"-x lint -x test\"\n```\n\n#### `--binary-path <path>`\n\nInstalls passed binary instead of building a fresh one. This command is not compatible with `--tasks`.\n\n#### `--user` <number | string>\n\nId of the User Profile you want to install the app on.\n\n### `log-android`\n\nUsage:\n\n```sh\nnpx react-native log-android\n```\n\nStarts [`logkitty`](https://github.com/zamotany/logkitty) displaying pretty Android logs.\n","publish_time":1733999267806,"maintainers":[{"name":"bartoszklonowski","email":"bartosz.klonowski@cxcode.pl"},{"name":"titozzz","email":"malbranche.thibault@gmail.com"},{"name":"empyrical","email":"empyrical@outlook.com"},{"name":"cpojer","email":"christoph.pojer@gmail.com"},{"name":"mattoakes","email":"hello@mattoakes.net"},{"name":"ferrannp","email":"fnp.developer@gmail.com"},{"name":"mike866","email":"michal.chudziak@gmail.com"},{"name":"krizzu","email":"dev@kborowy.com"},{"name":"trensik","email":"dawid.urbaniak.dev@gmail.com"},{"name":"thymikee","email":"thymikee@gmail.com"},{"name":"nicholaslee119","email":"nicholaslee119@gmail.com"},{"name":"mmazzarolo","email":"me@mazzarolomatteo.com"},{"name":"rewieer","email":"ancyr@pm.me"},{"name":"janicduplessis","email":"janicduplessis@gmail.com"},{"name":"swaagie","email":"martijn@swaagman.online"},{"name":"kelset","email":"notkelset@kelset.dev"},{"name":"johandutoit","email":"jdutoit.dev@gmail.com"},{"name":"vonovak","email":"vonovak@gmail.com"},{"name":"wojteg1337","email":"feelun132@gmail.com"},{"name":"naturalclar","email":"jesse.katsumata@gmail.com"},{"name":"connectdotz","email":"vsun@connectdotz.com"},{"name":"pvinis","email":"pvinis@gmail.com"},{"name":"brentvatne","email":"brentvatne@gmail.com"},{"name":"evanbacon","email":"baconbrix@gmail.com"},{"name":"eliwhite","email":"npm@eli-white.com"},{"name":"alloy","email":"eloy.de.enige@gmail.com"},{"name":"cortinico","email":"corti.nico@gmail.com"},{"name":"safaiyeh","email":"safaiyeh@protonmail.com"},{"name":"dmitryrykun","email":"dmitry.rykun@gmail.com"},{"name":"lunaleaps","email":"lunaleaps@gmail.com"},{"name":"wootwootwoot","email":"platcool@gmail.com"},{"name":"react-native-bot","email":"opensource+react-native-bot@fb.com"},{"name":"szymonrybczak","email":"szymon.rybczak@gmail.com"},{"name":"react-native-community-bot","email":"malbranche.thibault+bot@gmail.com"},{"name":"okwasniewski","email":"oskarkwasniewski@icloud.com"}],"_cnpm_publish_time":1733999267806,"dist-tags":{"11.x":"11.4.1","12.x":"12.3.7","14.x":"14.1.2","16.x":"16.0.3","17.x":"17.0.1","18.x":"18.0.1","19.x":"19.1.2","7.x":"6.3.1","9.x":"9.3.4","latest":"20.2.0","next":"21.0.0-alpha.1","v7.0.1":"7.0.1"}}