Skip to content

Commit 7c26e07

Browse files
smeubankbitsandfoxes
authored andcommitted
Add tabs to reflect the new binaries available (#13169)
getsentry/sentry#85861
1 parent 8b18c31 commit 7c26e07

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
@@ -47,12 +47,50 @@ Select which Sentry features you'd like to install in addition to Error Monitori
4747

4848
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.
4949

50-
We recommend installing the SDK through our [Sentry Wizard](https://github.com/getsentry/sentry-wizard) by running the following command inside your project directory:
50+
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:
5151

52-
```bash
52+
```bash {tabTitle:brew}
5353
brew install getsentry/tools/sentry-wizard && sentry-wizard -i android
5454
```
5555

56+
```bash {tabTitle:npx}
57+
npx @sentry/wizard@latest -i android
58+
```
59+
60+
```bash {tabTitle:macOS (Intel/x64)}
61+
downloadUrl="https://github.com/getsentry/sentry-wizard/releases/download/v4.0.1/sentry-wizard-darwin-x64"
62+
curl -L $downloadUrl -o sentry-wizard
63+
chmod +x sentry-wizard
64+
./sentry-wizard -i android
65+
```
66+
67+
```bash {tabTitle:macOS (Apple Silicon/arm64)}
68+
downloadUrl="https://github.com/getsentry/sentry-wizard/releases/download/v4.0.1/sentry-wizard-darwin-arm64"
69+
curl -L $downloadUrl -o sentry-wizard
70+
chmod +x sentry-wizard
71+
./sentry-wizard -i android
72+
```
73+
74+
```bash {tabTitle:Linux (x64)}
75+
downloadUrl="https://github.com/getsentry/sentry-wizard/releases/download/v4.0.1/sentry-wizard-linux-x64"
76+
curl -L $downloadUrl -o sentry-wizard
77+
chmod +x sentry-wizard
78+
./sentry-wizard -i android
79+
```
80+
81+
```bash {tabTitle:Linux (arm64)}
82+
downloadUrl="https://github.com/getsentry/sentry-wizard/releases/download/v4.0.1/sentry-wizard-linux-arm64"
83+
curl -L $downloadUrl -o sentry-wizard
84+
chmod +x sentry-wizard
85+
./sentry-wizard -i android
86+
```
87+
88+
```powershell {tabTitle:Windows}
89+
$downloadUrl = "https://github.com/getsentry/sentry-wizard/releases/download/v4.0.1/sentry-wizard-win-x64.exe"
90+
Invoke-WebRequest $downloadUrl -OutFile sentry-wizard.exe
91+
./sentry-wizard.exe -i android
92+
```
93+
5694
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.
5795
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).
5896

0 commit comments

Comments
 (0)