Skip to content

Commit

Permalink
fix: avif_android jni build.gradle config ndkVersion and target (#1751)
Browse files Browse the repository at this point in the history
Setting ANDROID_NDK_HOME no longer has any effect in gradle. When you run ./gradlew --info the log outputs:

C/C++: Not considering ANDROID_NDK_HOME because support was removed after deprecation period.
C/C++: Because no explicit NDK was requested, the default version [23.1.7779620] for this Android Gradle Plugin will be used
C/C++: android.ndkVersion from module build.gradle is [not set]
C/C++: android.ndkPath from module build.gradle is not set
C/C++: ndk.dir in local.properties is not set

This commit sets android.ndkVersion so that it matches the NDK version used in the github actions workflows.
  • Loading branch information
fdintino authored Nov 13, 2023
1 parent 809dbdc commit 216ad2d
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions android_jni/avifandroidjni/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ plugins {
android {
namespace 'org.aomedia.avif.android'
compileSdk 30
ndkVersion "25.2.9519653"

defaultConfig {
minSdk 21
Expand Down

0 comments on commit 216ad2d

Please sign in to comment.