Skip to content

Commit

Permalink
change links for macos
Browse files Browse the repository at this point in the history
  • Loading branch information
dmitry-shibanov committed Jan 20, 2021
1 parent 29847cd commit c59fb84
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion images/macos/provision/core/android-toolsets.sh
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,11 @@ echo "Installing latest CMake..."
echo y | $SDKMANAGER "cmake;3.6.4111459"

echo "Installing latest ndk..."
echo y | $SDKMANAGER "ndk-bundle"
echo y | $SDKMANAGER "ndk;21.3.6528147"
# This changes were added due to incompatibility with android ndk-bundle (ndk;22.0.7026061).
# Link issue virtual-environments: https://github.com/actions/virtual-environments/issues/2481
# Link issue xamarin-android: https://github.com/xamarin/xamarin-android/issues/5526
ln -s $ANDROID_HOME/ndk/21.3.6528147 $ANDROID_HOME/ndk-bundle

availablePlatforms=($(${ANDROID_HOME}/tools/bin/sdkmanager --list | grep "platforms;android-" | cut -d"|" -f 1 | sort -u))
filter_components_by_version $ANDROID_PLATFORM "${availablePlatforms[@]}"
Expand Down

0 comments on commit c59fb84

Please sign in to comment.