Skip to content

Commit 0e2a6d9

Browse files
committed
Add tabs to reflect the new binaries available
getsentry/sentry#85861
1 parent 04b4f75 commit 0e2a6d9

File tree

1 file changed

+40
-2
lines changed

1 file changed

+40
-2
lines changed

docs/platforms/android/index.mdx

Lines changed: 40 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -50,12 +50,50 @@ Select which Sentry features you'd like to install in addition to Error Monitori
5050

5151
Sentry captures data by using an SDK within your application's runtime. These are platform-specific and allow Sentry to have a deep understanding of how your application works.
5252

53-
We recommend installing the SDK through our [Sentry Wizard](https://github.com/getsentry/sentry-wizard) by running the following command inside your project directory:
53+
We recommend installing the SDK through our [Sentry Wizard](https://github.com/getsentry/sentry-wizard) by running one of the following commands inside your project directory:
5454

55-
```bash
55+
```bash {tabTitle:brew}
5656
brew install getsentry/tools/sentry-wizard && sentry-wizard -i android
5757
```
5858

59+
```bash {tabTitle:npx}
60+
npx @sentry/wizard@latest -i android
61+
```
62+
63+
```bash {tabTitle:macOS (Intel/x64)}
64+
downloadUrl="https://github.com/getsentry/sentry-wizard/releases/download/v4.0.1/sentry-wizard-darwin-x64"
65+
curl -L $downloadUrl -o sentry-wizard
66+
chmod +x sentry-wizard
67+
./sentry-wizard -i android
68+
```
69+
70+
```bash {tabTitle:macOS (Apple Silicon/arm64)}
71+
downloadUrl="https://github.com/getsentry/sentry-wizard/releases/download/v4.0.1/sentry-wizard-darwin-arm64"
72+
curl -L $downloadUrl -o sentry-wizard
73+
chmod +x sentry-wizard
74+
./sentry-wizard -i android
75+
```
76+
77+
```bash {tabTitle:Linux (x64)}
78+
downloadUrl="https://github.com/getsentry/sentry-wizard/releases/download/v4.0.1/sentry-wizard-linux-x64"
79+
curl -L $downloadUrl -o sentry-wizard
80+
chmod +x sentry-wizard
81+
./sentry-wizard -i android
82+
```
83+
84+
```bash {tabTitle:Linux (arm64)}
85+
downloadUrl="https://github.com/getsentry/sentry-wizard/releases/download/v4.0.1/sentry-wizard-linux-arm64"
86+
curl -L $downloadUrl -o sentry-wizard
87+
chmod +x sentry-wizard
88+
./sentry-wizard -i android
89+
```
90+
91+
```powershell {tabTitle:Windows}
92+
$downloadUrl = "https://github.com/getsentry/sentry-wizard/releases/download/v4.0.1/sentry-wizard-win-x64.exe"
93+
Invoke-WebRequest $downloadUrl -OutFile sentry-wizard.exe
94+
./sentry-wizard.exe -i android
95+
```
96+
5997
This will patch your project and configure the SDK. You only need to patch the project once, then you can add the patched files to your version control system.
6098
If you prefer, you can also <PlatformLink to="/manual-setup/">set up the SDK manually</PlatformLink> or follow the instructions below to adapt the [configuration](#configure).
6199

0 commit comments

Comments
 (0)