[Solved] Gradle NullPointerException at com.android.build.gradle.internal.ndk.NdkHandler.getPlatformVersion

Baidu does not have the answer to this question, to Google: reference https://github.com/luncliff/NdkCamera/issues/1 As mentioned in

the path to add NDK, you need to pay attention to a NDK version number. At the beginning, I directly referred to NDK, but I couldn’t do it without the following 21.0.6113669
so make a record in CSDN to facilitate future generations to find out, without going over the wall.

Read More: