{"name":"@react-native-community/cli-platform-android","version":"12.3.2","license":"MIT","_id":"@react-native-community/cli-platform-android@12.3.2","maintainers":[{"name":"dmitryrykun","email":"dmitry.rykun@gmail.com"},{"name":"safaiyeh","email":"safaiyeh@protonmail.com"},{"name":"cortinico","email":"corti.nico@gmail.com"},{"name":"lunaleaps","email":"lunaleaps@gmail.com"},{"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":"krizzu.dev@gmail.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"}],"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":"de54d89712f8ea95046d798ec274fd6caea70c34","tarball":"http://registry-npm.ywwl.com/@react-native-community/cli-platform-android/download/@react-native-community/cli-platform-android-12.3.2.tgz","fileCount":118,"integrity":"sha512-MZ5nO8yi/N+Fj2i9BJcJ9C/ez+9/Ir7lQt49DWRo9YDmzye66mYLr/P2l/qxsixllbbDi7BXrlLpxaEhMrDopg==","signatures":[{"sig":"MEQCIHWVr8UsFyZga26Fhbe+gwKGa7jLm2eZlro6NNWpxkbdAiAL3KMreq81ku6WKj+DBu33uySsNNTrwyGhwroTAqzcnw==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":229106,"size":57484,"noattachment":false,"key":"/@react-native-community/cli-platform-android/-/@react-native-community/cli-platform-android-12.3.2.tgz"},"main":"build/index.js","types":"./build/index.d.ts","gitHead":"3624810a96514170bbf0ec5451e0515e30ddc10d","_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@v20.8.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":"20.8.0","dependencies":{"glob":"^7.1.3","chalk":"^4.1.2","execa":"^5.0.0","logkitty":"^0.7.1","fast-xml-parser":"^4.2.4","@react-native-community/cli-tools":"12.3.2"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"@types/glob":"^7.1.1","@types/fs-extra":"^8.1.0","@react-native-community/cli-types":"12.3.2"},"_npmOperationalInternal":{"tmp":"tmp/cli-platform-android_12.3.2_1705310951840_0.1249299504041892","host":"s3://npm-registry-packages"},"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":1705310952051,"_cnpm_publish_time":1705310952051,"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"}}