I have successfully sync the source code of android-7.1.2_r11 from AOSP. Now, I got the following error while I was trying to build the source code. Anyone can tell me how I can fix it, and finish a successful build? Thanks much in advance.
Please see the attached screenshot for detailed build error.
BTW, my ubuntu version is 16.04. OpenJDK version is 1.8.
error log:
Communication error with Jack server (56). Try 'jack-diagnose' ninja: build stopped: subcommand failed. build/core/ninja.mk:148: recipe for target 'ninja_wrapper' failed make: *** [ninja_wrapper] Error 1
make failed to build some targets (02:17:10 (hh:mm:ss))