我把构建步骤放到后面说,先说我遇到的几个问题。
第一
Using incremental javac compilation.
Incremental java compilation is an incubating feature.
Not using incremental javac compilation.
Using incremental javac compilation.
Not using incremental javac compilation.
Not using incremental javac compilation.
FAILURE: Build failed with an exception.
* What went wrong:
A problem occurred configuring project ':helloworld'.
> NDK not configured.
Download it with SDK manager.)
* Try:
Run with --stacktrace option to get the stack trace. Run with --debug option to get more log output.
BUILD FAILED
Total time: 8.074 secs
Stopped 0 compiler daemon(s).
执行命令出错,返回值:1。
这其实是因为sdk版本过高,导致ndk找不见的过。
jsb-default\frameworks\runtime-src\proj.android-studio\lcoal.properties
在这里仿造已经存在的sd