{"name":"@react-native-community/cli-platform-android","version":"12.0.0-alpha.18","license":"MIT","_id":"@react-native-community/cli-platform-android@12.0.0-alpha.18","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":"ed300f2d3182ea0b7bd435e80c0ba72e4fdeafb8","tarball":"http://registry-npm.ywwl.com/@react-native-community/cli-platform-android/download/@react-native-community/cli-platform-android-12.0.0-alpha.18.tgz","fileCount":118,"integrity":"sha512-BJ7QZBbOqQ5gSqJ2oh5lSTUJMcao5Qkfj58JDbN7px6NyndfDd6U6kxkitTQpHERlc+Uqq9dUf1DHkwMvAq/Pw==","signatures":[{"sig":"MEQCIEDG10AIFg1FxtRuOeOxJAGhEY6sLHzLGnnTIYlV4lHoAiBM/hCphfYKo9pq6s6c5moNAfqOdoNsJG+eaMf+zmXzig==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":233809,"size":58210,"noattachment":false,"key":"/@react-native-community/cli-platform-android/-/@react-native-community/cli-platform-android-12.0.0-alpha.18.tgz"},"main":"build/index.js","types":"./build/index.d.ts","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#### `--deviceId <string>`\n\nbuilds your app and starts it on a specific device/simulator 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 `--variant` 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### `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","gitHead":"174948353be0bf67c5b8beb657608b22b21de5ca","_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.0.0-alpha.18"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"@types/glob":"^7.1.1","@types/fs-extra":"^8.1.0","@react-native-community/cli-types":"12.0.0-alpha.18"},"_npmOperationalInternal":{"tmp":"tmp/cli-platform-android_12.0.0-alpha.18_1696351601086_0.8051921864109273","host":"s3://npm-registry-packages"},"publish_time":1696351601344,"_cnpm_publish_time":1696351601344,"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"}}