Firefly开源社区

打印 上一主题 下一主题

编译3128出错

39

积分

0

威望

0

贡献

游客

积分
39

编译3128出错

发表于 2017-7-5 12:01:18      浏览:6944 | 回复:1        打印      只看该作者   [复制链接] 楼主
环境  ubuntu 16.04   JDK 版本:
java version "1.7.0_95"
OpenJDK Runtime Environment (IcedTea 2.6.4) (7u95-2.6.4-3)
OpenJDK 64-Bit Server VM (build 24.95-b01, mixed mode

kernel可以编, 编android SDK的时候报错:
编译命令:make -j8
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.
******************************



build/core/tasks/apicheck.mk:62: recipe for target 'out/target/common/obj/PACKAGING/checkpublicapi-current-timestamp' failed
make: *** [out/target/common/obj/PACKAGING/checkpublicapi-current-timestamp] Error 38



网上搜解决办法,需要make update-api, 结果在跑 make update-api的时候也报错:
frameworks/base/core/java/android/os/DisplayOutputManager.java:374: error 104: @param tag with name that doesn't match the parameter list: 'enabled'
DroidDoc took 180 sec. to write docs to out/target/common/docs/doc-comment-check
build/core/droiddoc.mk:158: recipe for target 'out/target/common/docs/doc-comment-check-timestamp' failed
make: *** [out/target/common/docs/doc-comment-check-timestamp] Error 45



各位大神帮忙看看


回复

使用道具 举报

285

积分

0

威望

0

贡献

技术达人

Rank: 2

积分
285
发表于 2017-8-18 19:15:37        只看该作者  沙发
请你检查下frameworks/base/core/java/android/os/DisplayOutputManager.java第374行有什么问题
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

友情链接 : 爱板网 电子发烧友论坛 云汉电子社区 粤ICP备14022046号-2
快速回复 返回顶部 返回列表