android 增加,修改api 与current.xml的变化

http://blog.sina.com.cn/s/blog_7a8d6d980100rqyg.html

Android 增加,修改api 与current.xml的变化

  (2011-06-30 11:29:40)
转载
标签: 

杂谈

分类: andoid

1. 增加,修改android原有的api,编译过程中会出现错误

You have tried to change the API from what has been previously released in
an SDK.  Please fix the errors listed above.

 

解决方法:

make clean

make update-api

=========

这是网上搜到的一般答案,但是在fscl中,任然出现以上错误。

解决方法:

搜索出现错误的字段,也就是你修改的字段在current.xml中,这个xml文件中就是你目前系统的api(你修改过的)。然后再1 ,2 ,3,4,5,6,7.xml中查找这个字段,看它的值是多少,改为你修改的值。再编译,一般ok

==========

总结:current.xml是你修改过的api统计。

你可能感兴趣的:(android 增加,修改api 与current.xml的变化)