当编译的时候,如果你在某个类中加了变量或函数或内部类或是添加了一个文件,就会出现如下的错误:
******************************
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 command:
make update-api
To submit the revised current.xml to the main Android repository,
you will need approval.
******************************
这个错误的解决方法是输入:make update-api命令。重新编译一下api!!!!