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”

    该问题说明已经编译过了

  • 相关阅读:
    docker安装软件初体验
    docker的安装------------------以centos为例
    DOS常用命令总结
    Windows批处理功能-bat
    KALI系统上W3AF(Web Application Attack and Audit Framework)安装部署技巧
    调试问题
    jmeter 5.2下载binary版本后直接解压报错
    【注释】IntelliJ IDEA添加注释的快捷键是什么?
    [mybatis]自动逆向工程
    [数据库]mysql MySQL报错-Access denied for user 'root'@'localhost' (using password: NO)
  • 原文地址:https://www.cnblogs.com/Ph-one/p/4334232.html
Copyright © 2011-2022 走看看