Creator HelloWorld构建编译出错,1.7.2beta版本

按照官方文档安装配置原生开发环境 配置好了android环境,下载的是android studio

构建 成功
编译出错

按照提示信息,打开 native.log文件。提示信息如下

------------------------------ 这边有一段提示了NDK问题 不知道是否有影响-----------------------
NDK is missing a "platforms" directory.
If you are using NDK, verify the ndk.dir is set to a valid NDK directory. 


SDK initialized in 1467 ms

FAILURE: Build failed with an exception.

* What went wrong:
A problem occurred configuring project ':hjs'.
> java.lang.NullPointerException (no error message)

* Try:
Run with --stacktrace option to get the stack trace. Run with --debug option to get more log output.

* Get more help at https://help.gradle.org

BUILD FAILED in 14s
执行命令出错,返回值:1。

是否是因为某些东西没安装好呢?

已经解决。
是因为墙的问题。
SDK Manager下载ndk失败。当时没注意看。
从网络上自己下载ndk,解压到SDK Manager ndk-bundle下就可以了 。