Skip to content

Commit fa8bcc7

Browse files
committed
chore: update README
1 parent 5169045 commit fa8bcc7

1 file changed

Lines changed: 39 additions & 0 deletions

File tree

README.md

Lines changed: 39 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -426,6 +426,45 @@ extra_ldflags = "-static-libstdc++ -Wl,-z,max-page-size=16384"
426426
-DCMAKE_SHARED_LINKER_FLAGS="-Wl,-z,max-page-size=16384"
427427
```
428428

429+
## Building the Release AAR 📦
430+
431+
To build the BugSplat Android SDK as a release AAR file:
432+
433+
1. **Navigate to the project directory:**
434+
```bash
435+
cd bugsplat-android
436+
```
437+
438+
2. **Build the release AAR:**
439+
```bash
440+
./gradlew app:assembleRelease
441+
```
442+
443+
Or to build only the AAR bundle:
444+
```bash
445+
./gradlew app:bundleReleaseAar
446+
```
447+
448+
3. **Find the output:**
449+
450+
The AAR file will be located at:
451+
```
452+
app/build/outputs/aar/bugsplat-android-release.aar
453+
```
454+
455+
### Build Variants
456+
457+
You can also build the debug variant:
458+
```bash
459+
./gradlew app:assembleDebug
460+
# Output: app/build/outputs/aar/bugsplat-android-debug.aar
461+
```
462+
463+
Or build all variants at once:
464+
```bash
465+
./gradlew app:assemble
466+
```
467+
429468
## Contributing 🤝
430469

431470
BugSplat is an open-source project, and we welcome contributions from the community. Please create an issue or open a pull request if you have a suggestion or need additional help.

0 commit comments

Comments
 (0)