2011/09/15 10:55
  서버에서 Full Build를 돌리다가 다음과 같은 에러구문을 만났다.

(unknown): error 4: Added public method android.provider.MediaStore.Images.Thumbnails.getThumbnailWithoutCache
(unknown): error 4: Added public method android.provider.MediaStore.Video.Thumbnails.getThumbnailWithoutCache
target Dex: AnalogClockWidget


******************************
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: *** [out/target/common/obj/PACKAGING/checkapi-current-timestamp] Error 38
make: *** Waiting for unfinished jobs....

   영어가 잔뜩 써있어서 처음엔 살짝 겁먹었는데, 찬찬히 읽어보니 친절하게도 이렇게 하면 된다~ 라는걸 밑줄친 문장에서 다 알려주고 있다. 말인즉슨, 댁은 current.xml을 업데이트 해야 하니 make update-api 를 실행하란다. 

# make update-api 
# make  (다시 빌드~)


  아- 간단하여라. 
  아무래도 플랫폼(프레임워크)쪽에 함수 추가 등의 변경사항이 있을 때는 이걸 꼭 해주어야 하는 것 같다. 

 
Posted by 보댕