AnsweredAssumed Answered

android_N7.1.1_1.0.0_source make error

Question asked by hiroyuki hara on May 14, 2017
Latest reply on Jul 11, 2017 by thony Du

OS used Ubuntu 16.10
Used board i.MX 6 DualLite SABRE-SD Board
See AndroidTM User's Guide

 

make produces the following error.
$ make 2> & 1 | tee build-log.txt

 

Checking build tools versions ...
************************************************** **********
You asked for an OpenJDK based build but your version is
Java version "1.8.0 _ 111" Java (TM) SE Runtime Environment (build 1.8.0 - 111 - b 14) Java HotSpot (TM) 64 - Bit Server VM (build 25. 111 - b 14, mixed mode).
************************************************** **********
build / core / main.mk: 231: *** stop.

 

Remarks
$ lunch sabresd_6 dq-user
doing so will change the version of java.

 

hara @ hara - XPS - 8300: ~ $ java - version
openjdk version "1.8.0 _ 131"
openJDK Runtime Environment (build 1.8.0 - 131 - 8 u 131 - b 11 --ubuntu 1. 16 - 10. 2 - b 11)
openJDK 64-Bit Server VM (build 25.131-b11, mixed mode)

hara @ hara - XPS - 8300: ~ / myandroid $ java - version
java version "1.8.0 _ 111"
java (TM) SE Runtime Environment (build 1.8.0 - 111 - b 14)
java HotSpot (TM) 64-Bit Server VM (build 25. 111-b 14, mixed mode)

 

How can I solve it?

Outcomes