编译android出错

注意:frameworks/base/nfc-extras/java/com/android/nfc_extras/NfcAdapterExtras.java 使用了未经检查或不安全的操作。
注意:要了解详细信息,请使用 -Xlint:unchecked 重新编译。
target Java: send_bug (out/target/common/obj/JAVA_LIBRARIES/send_bug_intermediates/classes)
Checking API: checkapi-last
Checking API: checkapi-current
host Java: layoutlib (out/host/common/obj/JAVA_LIBRARIES/layoutlib_intermediates/classes)
out/target/common/obj/PACKAGING/public_api.txt:15788: error 3: Added class IHelloService to package android.os
out/target/common/obj/PACKAGING/public_api.txt:15793: error 3: Added class IHelloService.Stub to package android.os

******************************
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.
******************************

make: *** [out/target/common/obj/PACKAGING/checkapi-current-timestamp] 错误 38
make: *** 正在等待未完成的任务....
注意:某些输入文件使用或覆盖了已过时的 API。
注意:要了解详细信息,请使用 -Xlint:deprecation 重新编译。
root@phone-desktop:/opt/FriendlyARM/tiny4412/android/android-4.1.2#

(个人感觉,应该是因为添加老罗jni层后引起的错误)

解决方法:make update-api

2

make:进入目录'/opt/FriendlyARM/tiny4412/android/android-4.1.2'
make: 没有什么可以做的为 `all_modules'。
make:离开目录“/opt/FriendlyARM/tiny4412/android/android-4.1.2”

该问题说明已经编译过了

上一篇:Python远程调试Openstack


下一篇:PHP在浏览器上跟踪调试的方法以及使用ChromePhp、FirePHP的简单介绍