2017-10-28 65 views
0

我正在寻找项目的Android AOSP安装程序的帮助。我试图在Ubuntu 16.04.3 LTS(Xenial)上从源代码构建Android 4.3_r1,我已经安装了所有依赖项和Oracle Java 6。构建运行良好,直到一个地步,我得到以下错误:在Ubuntu 16上构建Android 4.3_r1 LTS错误

****************************** 
You have tried to change the API from what has been previously 
approved. 
To make these errors go away, you have two choices: 
    1) You can add "@hide" javadoc comments to the methods, etc. listed 
    in the errors above. 
    2) You can update current.txt by executing the following command: 
    make update-api 
    To submit the revised current.txt to the main Android repository, 
    you will need approval. 
****************************** 

试图消除current.txt,重做从头开始的步骤,使更新的API,也仍然面临着同样的error.Any帮助将不胜感激。

+0

您是否试过https://stackoverflow.com/a/42654807/8749619? – osfans

+0

是的它没有工作 – BlackHat

回答

0

因此,尝试了几个修复程序后,它没有为我工作,所以我重新安装Java和AOSP让它工作。