flutter - Android license status unknown이 뜬다면?
$ flutter doctor
를 실행했는데, 제목과 같은 에러가 발생한다면, 설명에 나온대로 그대로 따라하면 쉽게 해결된다.
해결 방법
$ flutter doctor --android-licenses
명령을 실행하자.
그러면, 굉장히 많은 질문을 하는데, 모두 y라고 답해준다.
1/5: License android-googletv-license:
---------------------------------------
Terms and Conditions
This is the Google TV Add-on for the Android Software Development Kit License Agreement.
1. Introduction
1.1 The Google TV Add-on for the Android Software Development Kit (referred to in this License Agreement as the "Google TV Add-on" and specifically including the Android system files, packaged APIs, and Google APIs add-ons) is licensed to you subject to the terms of this License Agreement. This License Agreement forms a legally binding contract between you and Google in relation to your use of the Google TV Add-on.
1.2 "Google" means Google Inc., a Delaware corporation with principal place of business at 1600 Amphitheatre Parkway, Mountain View, CA 94043, United States.
2. Accepting this License Agreement
2.1 In order to use the Google TV Add-on, you must first agree to this License Agreement. You may not use the Google TV Add-on if you do not accept this License Agreement.
...
와 같은 문장이 나올 것이다.
질문 끝에 y/N 인지 물으면, 끝날 때까지 y를 눌러준다.
그리고 나서, 다시 flutter docter를 실행해보면 해당 에러가 사라진 것을 확인할 수 있을 것이다.
'Development > Flutter' 카테고리의 다른 글
[flutter] Xcode - develop for iOS and macOS, CocoaPods not installed가 뜬다면? (0) | 2022.09.15 |
---|---|
[flutter] cmdline-tools component is missing 에러가 발생한다면 (0) | 2022.09.06 |
[flutter] Android Studio not found at 에러가 난다면? (0) | 2022.09.05 |