我正在为项目的Android AOSP设置寻求帮助。我正在尝试从Ubuntu 16.04.3 LTS(Xenial)上的源代码构建Android 4.3_r1,我已经安装了所有依赖项和oracle Java 6。构建运行良好,直到我得到以下错误:
******************************
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,从头开始重做这些步骤,使update-api仍然面临同样的错误。任何帮助都将不胜感激。
答案 0 :(得分:0)
所以在尝试了几个修复后,它对我来说没有用,所以我重新安装了java和AOSP才能让它工作。