diff --git a/packages/meditrak-app/appcenter-pre-build.sh b/packages/meditrak-app/appcenter-pre-build.sh index f3c3dc0a7b..9913c1f9e0 100755 --- a/packages/meditrak-app/appcenter-pre-build.sh +++ b/packages/meditrak-app/appcenter-pre-build.sh @@ -11,4 +11,8 @@ if [[ ! -z "$APPCENTER_XCODE_PROJECT" ]]; then else # on android, set up gradle.properties mv android/appcenter-gradle.properties android/gradle.properties + + # install ndk 21.0.6113669 as it's required by realm (https://github.com/realm/realm-js/issues/4740) + SDKMANAGER=$ANDROID_HOME/tools/bin/sdkmanager + echo y | $SDKMANAGER "ndk;21.0.6113669" fi