Skip to content

Commit

Permalink
android: bump minSdkVersion to 21
Browse files Browse the repository at this point in the history
Fixes the following error with AGP 8.4:

    A problem occurred configuring project ':webcrypto'.
    > [CXX1110] Platform version 16 is unsupported by this NDK. Please change minSdk to at least 21 to avoid undefined behavior. To suppress this error, add android.ndk.suppressMinSdkVersionError=21 to the project's gradle.properties or set android.experimentalProperties["android.ndk.suppressMinSdkVersionError"]=21 in the Gradle build file.
  • Loading branch information
emersion committed May 23, 2024
1 parent 70f8a59 commit 7ccd6ed
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion android/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ android {
}

defaultConfig {
minSdkVersion 16
minSdkVersion 21
ndk {
abiFilters 'armeabi-v7a', 'arm64-v8a', 'x86', 'x86_64'
}
Expand Down

0 comments on commit 7ccd6ed

Please sign in to comment.