在 Ubuntu 16 个 LTS 错误上构建 Android 4.3_r1

Building Android 4.3_r1 on Ubuntu 16 LTS Errors

我正在寻求有关 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 也仍然面临相同的 error.Any 帮助将不胜感激。

所以在尝试了几个修复后它对我来说没有用,所以我重新安装了 java 和 AOSP 让它工作。