close

Sometimes you may have to patch some files of android frameworks, eg, aidl, some service...etc.

While you build the android, you would meet the problem, see as followings:

******************************
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.

******************************

It tells you that there are two solutions to solve your question.

Suppose you are so~ lazy, please select second way as your solution.

After re-build current.xml, you will build successfully all your code.

see more detail, please refer to this website(http://www.eoeandroid.com/thread-16096-1-1.html)

 

 

arrow
arrow
    全站熱搜

    owenhuangtw 發表在 痞客邦 留言(0) 人氣()