Firefly开源社区

标题: 编译3128出错 [打印本页]

作者: 米米米米    时间: 2017-7-5 12:01
标题: 编译3128出错
环境  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



各位大神帮忙看看



作者: brian0218    时间: 2017-8-18 19:15
请你检查下frameworks/base/core/java/android/os/DisplayOutputManager.java第374行有什么问题




欢迎光临 Firefly开源社区 (https://dev.t-firefly.com/) Powered by Discuz! X3.1