NDK is missing a "platforms" directory.
If you are using NDK, verify the ndk.dir is set to a valid NDK directory. It is currently set to D:\ProgramFile\Android
\androidsdk\ndk-bundle.
If you are not using NDK, unset the NDK variable from ANDROID_NDK_HOME or local.properties to remove this warning.
错误原因:
没有配置NDK环境变量;
解决方案:
在环境变量中添加名ANDROID_NDK_HOME的变量,值为NDK路径
"我的电脑"右键“属性”->高级系统设置->环境变量 -> 新建ANDROID_NDK_HOME
dos输入ndk-build测试配置是否成功: