zoukankan      html  css  js  c++  java
  • You have tried to change the API from what has been previously approved.

    需要修改frameworks/base/下的代码,请注意 :如果修改了Android原有API的 ,需要update frameworks/base/api/current.txt。否则编译被中断并出现下面提示。 
    可以通过运行 make update-api 后,自动更新此文件,检查确认正确后,跟代码一起提交即可。
    Note: 本周碰到这样case ,是因为修改了: M frameworks/base/core/java/android/provider/Contacts.java 

    Install: out/host/linux-x86/bin/apicheck
    Checking API: checkapi-last
    Checking API: checkapi-current
    *******************************************************************************
    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.xml by executing the following commands:
    p4 edit frameworks/base/api/current.xml
    make update-api
    To check in the revised current.xml, you will need OWNERS approval.
    ******************************************************************************************

    原文地址:http://hi.baidu.com/317264476/item/29375493a1dd08dd1f427187

  • 相关阅读:
    docker 安装 mysql5.7
    docker 安装 redis
    docker 安装 gitlab
    docker 升级到新版本
    logstash 采集springboot 错误日志配置
    图片左下角添加水印
    frida动态修改
    反反frida调试
    IDA插件KeyPatch直接在IDA中修改arm指令
    frida调用制作dex(用于有些对象读取不了)
  • 原文地址:https://www.cnblogs.com/albert1017/p/3491355.html
Copyright © 2011-2022 走看看