서버에서 Full Build를 돌리다가 다음과 같은 에러구문을 만났다.
영어가 잔뜩 써있어서 처음엔 살짝 겁먹었는데, 찬찬히 읽어보니 친절하게도 이렇게 하면 된다~ 라는걸 밑줄친 문장에서 다 알려주고 있다. 말인즉슨, 댁은 current.xml을 업데이트 해야 하니 make update-api 를 실행하란다.
아- 간단하여라.
아무래도 플랫폼(프레임워크)쪽에 함수 추가 등의 변경사항이 있을 때는 이걸 꼭 해주어야 하는 것 같다.
(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....
(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 (다시 빌드~)
아- 간단하여라.
아무래도 플랫폼(프레임워크)쪽에 함수 추가 등의 변경사항이 있을 때는 이걸 꼭 해주어야 하는 것 같다.
'공부하는 개발자 > Android' 카테고리의 다른 글
| [Git] repo sync했을 때 branch is published 에러 (0) | 2011/10/10 |
|---|---|
| 안드로이드 에뮬레이터 단축키 (0) | 2011/09/19 |
| 안드로이드 Full Build에서 API 에러가 났다면 make update-api (0) | 2011/09/15 |
| 중복되는 프레임 레이아웃은 합쳐버리자, merge 태그 (0) | 2011/09/07 |