Skip to content

Commit

Permalink
fix(android): fix ndkVersion is unset when building from source
Browse files Browse the repository at this point in the history
  • Loading branch information
tido64 committed Feb 21, 2024
1 parent 7fffe69 commit ee986f8
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions packages/react-native/ReactAndroid/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -470,6 +470,8 @@ android {
}
if (rootProject.hasProperty("ndkVersion") && rootProject.properties["ndkVersion"] != null) {
ndkVersion = rootProject.properties["ndkVersion"].toString()
} else {
ndkVersion = libs.versions.ndkVersion.get()
}

compileOptions {
Expand Down

0 comments on commit ee986f8

Please sign in to comment.