You are attempting to build with an unsupported JDK.

Error:

Checking build tools versions...

************************************************************
You are attempting to build with an unsupportedJDK.


You use OpenJDK but only Sun/Oracle JDK issupported.
Please follow the machine setup instructions at
   https://source.android.com/source/download.html
************************************************************

build/core/main.mk:152: *** stop.  Stop.

 

Solution:

Choose your new version using the following command:

 

sudo update-alternatives --config java

sudo update-alternatives --config javac

sudo update-alternatives --config javaws 




發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章