sdkmanager --install "ndk;21.4.7075529"
# root-dir/app/build.gradle
android {
android.ndkVersion "21.4.7075529"
...
ndk.dir=C:Users[userName]AppDataLocalAndroidSdk
dk20.1.5948944
Install this version 20.1.5948944 of NDK side by side and uninstall the other