Updating the Android Gradle plugin is definitely the preferred solution. However, if for whatever reason you can't do that, it's easy to simply "fix" the error without downloading, copying, or symlinking anything, by just creating an empty directory:
mkdir -p $ANDROID_HOME/ndk-bundle/toolchains/mips64el-linux-android/prebuilt/linux-x86_64
$ANDROID_HOME
points to the root of the Android SDK installation. On MacOS, replace linux-x86_64
with darwin-x86_64
. Use windows-x86_64
on Windows.