마스터Q&A 안드로이드는 안드로이드 개발자들의 질문과 답변을 위한 지식 커뮤니티 사이트입니다. 안드로이드펍에서 운영하고 있습니다. [사용법, 운영진]

안드로이드 api 추가 후 full build 하는 방법 질문

0 추천
framework/base/core/java/android/bluetooth/ 위치에 핸즈프리 클라이언트 관련 파일을 추가한다음

framework/base/Android.mk 에 해당 aidl 파일을 등록했습니다.

그 뒤 빌드를 위해 make를 했는데

******************************
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.txt by executing the following command:
         make update-api

      To submit the revised current.txt to the main Android repository,
      you will need approval.
******************************

make: *** [out/target/common/obj/PACKAGING/checkapi-current-timestamp] 오류 38
make: *** 끝나지 않은 작업을 기다리고 있습니다....

 

위와 같은 에러메세지가 출력되었습니다.

그래서 make update-api 를 실행한 후 다시 빌드를 시도해봤는데 여전히 같은 메세지가 발생했습니다.

current.txt 파일에 제가 추가한 api가 등록되지 않은 점이 문제인것 같은데

어떻게 하면 제가 추가한 api를 포함하여 빌드할 수 있을까요?
익명사용자 님이 2017년 10월 30일 질문

답변 달기

· 글에 소스 코드 보기 좋게 넣는 법
· 질문에 대해 추가적인 질문이나 의견이 있으면 답변이 아니라 댓글로 달아주시기 바랍니다.
표시할 이름 (옵션):
개인정보: 당신의 이메일은 이 알림을 보내는데만 사용됩니다.
스팸 차단 검사:
스팸 검사를 다시 받지 않으려면 로그인하거나 혹은 가입 하세요.
...