Skip to content

Commit

Permalink
Fix docs (#110)
Browse files Browse the repository at this point in the history
* Fix docs

* Fix text issues
  • Loading branch information
Heezay authored Jul 22, 2022
1 parent 411c0e4 commit 75cf43a
Showing 1 changed file with 9 additions and 6 deletions.
15 changes: 9 additions & 6 deletions docs/crossbundle-install-command.md
Original file line number Diff line number Diff line change
Expand Up @@ -27,19 +27,22 @@ Note: Android studio install cmdline tools into `$SDK_ROOT/cmdline-tools/<versio

The [sdkmanager](https://developer.android.com/studio/command-line/sdkmanager) is a command-line tool that allows you to view, install, update, and uninstall packages for the Android SDK.

To see all available options use the -h flag. List installed and available packages:
To install packages use the command below. We prefer to use --preferred-tools flag to install minimal required tools needed for crossbundle correct working. This command will setup build-tools, android-ndk and android platforms:

```sh
crossbundle install sdk-manager --list
crossbundle install sdk-manager --preferred-tools
```

To install use the command below. We prefer to install the following tools:
Also you can install packages manually. To see all available tools use the -h flag. List installed and available packages:

```sh
crossbundle install sdk-manager --install "build-tools;30.0.0" "ndk;23.1.7779620" "platforms;android-30"
crossbundle install sdk-manager --list
```

# or install preferred packages
# crossbundle install sdk-manager --preferred-tools
And then enter the command. The command will install android-ndk-23 on your PC.

```sh
crossbundle install sdk-manager --install "ndk;23.1.7779620"
```

The command will install packages into `$HOME\AppData\Local\Android\Sdk\` for Windows, `$HOME/Library/Android/sdk/` for macOS, and `$HOME/Android/sdk/` for Linux.
Expand Down

0 comments on commit 75cf43a

Please sign in to comment.