You have tried to change the API from what has been previously approved.
2013-12-25 20:55
519 查看
需要修改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
可以通过运行 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
相关文章推荐
- You have tried to change the API from what has been previously approved
- You have tried to change the API from what has been previously approved.
- Android编译错误:You have tried to change the API from what has been previously approved.
- Android编译错误:You have tried to change the API from what has been previously approved.
- Android编译错误:You have tried to change the API from what has been previously approved.
- 修改frameworks/base/ 代码后,make提示“You have tried to change the API from what has been previously approv”
- EBS采购收货保存时,错误‘The quantity has not been converted from @@@ to Each, since 。。。’
- ccah-500 第35题 What do you have to do on the cluster to allow the worker node to join
- The object of type 'RectTransform' has been destroyed but you are still trying to access it
- how to fix "The App Name you entered has already been used"
- source insight Confirm by typing ‘yes' below"、"has been changed outside of the editor. Do you want to reload the file?"、“
- Recover a file even if it was not committed but it has to have been added when you use git reset head by mistake.
- What To Do Once You've Downloaded A Module From The CPAN
- emulator: ERROR: Unable to load VM from snapshot. The snapshot has been saved for a different hardware configuration.
- 关于“This file has been modified outside of the source editor. Do you want to reload it?”错误的处理
- VC6编辑时提示This file has been modified outside of the source of editor.Do you want to reload it?解决方法
- emulator: ERROR: Unable to load VM from snapshot. The snapshot has been saved for a different hardware configuration.
- Light is falling on a tree from left side you have to find all the nodes on which this light will fa
- "Unable to get image data from canvas because the canvas has been tainted by cross-origin data"问题产生原
- The Diesel watches is a name which is for the elegance and style you had been craving to have