You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: src/collections/_documentation/platforms/android/index.md
+19-19Lines changed: 19 additions & 19 deletions
Original file line number
Diff line number
Diff line change
@@ -624,6 +624,25 @@ If you want to have control over what breadcrumbs are attached to your data, you
624
624
625
625
That allows the user to decide whether and how a breadcrumb should be sent.
626
626
627
+
### Multi-Dex Support
628
+
629
+
If you're using Multi-Dex and our SDK, we would recommend updating your Multi-Dex configuration:
630
+
631
+
```groovy
632
+
release {
633
+
multiDexKeepProguard file('multidex-config.pro')
634
+
}
635
+
```
636
+
637
+
And, add to `multidex-config.pro` the following lines:
638
+
639
+
```
640
+
-keep class io.sentry.android.core.SentryAndroidOptions
641
+
-keep class io.sentry.android.ndk.SentryNdk
642
+
```
643
+
644
+
If you experience issues like `Could not find class` on devices running the `Dalvik VM`, you may expand the above rules to keep the necessary classes in the main dex file.
645
+
627
646
## Integrating the NDK
628
647
629
648
To use the Android NDK in your native code, include the Sentry NDK libraries into your project so that the compiler can link the libraries during the build.
@@ -690,22 +709,3 @@ Example of uploading all your .so files:
If you're using Multi-Dex and our SDK, we would recommend updating your Multi-Dex configuration:
697
-
698
-
```groovy
699
-
release {
700
-
multiDexKeepProguard file('multidex-config.pro')
701
-
}
702
-
```
703
-
704
-
And, add to `multidex-config.pro` the following lines:
705
-
706
-
```
707
-
-keep class io.sentry.android.core.SentryAndroidOptions
708
-
-keep class io.sentry.android.ndk.SentryNdk
709
-
```
710
-
711
-
If you experience issues like `Could not find class` on devices running the `Dalvik VM`, you may expand the above rules to keep the necessary classes in the main dex file.
0 commit comments