새소식

mobile/🤖 Cordova

[안드로이드 앱] You haven't accepted the license agreements of the following SDK components [Android SDK Platform 24].

  • -
728x90

You haven't accepted the license agreements of the following SDK components [Android SDK Platform 24].



안녕하세요. 오레오 다이어리입니다. 아래 상세한 오류 내용입니다.


You haven't accepted the license agreements of the following SDK components [Android SDK Platform 24].


In order for Gradle to automatically download all your SDK components, the license agreements for each of the components need to be accepted using the SDK manager UI in Android Studio.


If you have accepted the license agreements on one workstation, but wish to build your projects on a different one, 


you can export your licenses by copying the accepted licenses folder from the Android Sdk Home folder  <--요약 : 라이센스문제가 발생하였네요.


(this should be located at <android sdk home path>/licenses) of your current workstation, to the Android Sdk Home directory of the machine where you now want to build your projects.


If you haven’t previously accepted the license agreements anywhere else, you will have to open the Android Studio SDK Manager on the new machine, 


install all necessary components and accept their respective license agreements from there.





해결방법


1. sdk 폴더에 license, licenses 폴더를 만듭니다.


2. licenses폴더 안에 파일(android-sdk-license)이 하나 있습니다. 복사합니다.

3. 기존에 존재하던 licenses폴더를 licenses2로 이름을 변경하고 license, licenses 폴더를 새로 만들어줍니다.


4. license, licenes폴더 안에 복사해둔 파일(android-sdk-license)을 각각 붙여넣기합니다.


5. 정상적으로 동작합니다 ^ ^;;


<원래, 원본 sdk>


- sdk 폴더에 license, licenses 폴더를 만듭니다.


↑<sdk에 license 폴더들을 만듬>



- licenses폴더 안에 파일(android-sdk-license)이 하나 있습니다. 복사합니다.


<새로 만들어진 license 폴더 안에 파일을 복사>


- 기존에 존재하던 licenses폴더를 licenses2로 이름을 변경하고 license, licenses 폴더를 새로 만들어줍니다.


- license, licenes폴더 안에 복사해둔 파일(android-sdk-license)을 각각 붙여넣기합니다.


- 정상적으로 동작합니다 ^ ^;;




감사합니다. 한 번씩 공감 눌러주세요~

질문 사항이 있다면 댓글 남겨주세요 ^ ^


반응형
Contents

포스팅 주소를 복사했습니다

이 글이 도움이 되었다면 공감 부탁드립니다.