Skip to content
This repository was archived by the owner on May 6, 2022. It is now read-only.

Commit 64c4eea

Browse files
committed
test(example): set minSdkVersion in example app to 24
We ran into a crash related to this issue: google/ExoPlayer#6801 (comment) This only happens when the SDK is below 24. There are 2 fixes: 1. set minSdkVersion to 24 2. add android.enableDexingArtifactTransform=false to gradle.properties
1 parent 3e2d252 commit 64c4eea

File tree

2 files changed

+9
-4
lines changed

2 files changed

+9
-4
lines changed

README.md

Lines changed: 8 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -170,9 +170,14 @@ See our [ASR documentation](https://www.spokestack.io/docs/concepts/asr) for mor
170170
```groovy
171171
// ...
172172
ext {
173-
// Minimum SDK is 21
174-
// React Native 0.64+ already has this set
175-
minSdkVersion = 21
173+
// Set the minimum SDK to 24.
174+
// React Native 0.64+ sets version 21.
175+
// If you prefer to leave the minimum SDK at 21,
176+
// another option is to set this to 21, but
177+
// also set android.enableDexingArtifactTransform=false
178+
// in your top-level gradle.properties.
179+
// See https://github.com/google/ExoPlayer/issues/6801#issuecomment-574089568
180+
minSdkVersion = 24
176181
// ...
177182
dependencies {
178183
// Minimium gradle is 3.0.1+

example/android/build.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
buildscript {
44
ext {
55
buildToolsVersion = "29.0.3"
6-
minSdkVersion = 21
6+
minSdkVersion = 24
77
compileSdkVersion = 29
88
targetSdkVersion = 29
99
ndkVersion = "20.1.5948944"

0 commit comments

Comments
 (0)