zoukankan      html  css  js  c++  java
  • 编译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”

    该问题说明已经编译过了

  • 相关阅读:
    redis的发布订阅模式pubsub
    django集成celery之callback方式link_error和on_failure
    linux命令和awk
    使用beanstalkd实现定制化持续集成过程中pipeline
    JavaScript实现模糊推荐的input框(类似百度搜索框)
    hadoop streaming编程小demo(python版)
    一个scrapy框架的爬虫(爬取京东图书)
    mongodb生产环境(副本集模式)集群搭建配置
    TensorFlow加载图片的方法
    STC15W408AS简单使用教程-简单的光强检测!
  • 原文地址:https://www.cnblogs.com/Ph-one/p/4334232.html
Copyright © 2011-2022 走看看