NDK at /Users/Library/Android/sdk/ndk/21.1.6352462 did not have a source.properties file
#1- In build.gradle file add ndkVersion
android {
ndkVersion '21.1.6528147'
}
#2- In local.properties remove ndk.dir
ndk.dir=~/Library/Android/sdk/ndk-bundle