Notice
Recent Posts
Recent Comments
Link
| 일 | 월 | 화 | 수 | 목 | 금 | 토 |
|---|---|---|---|---|---|---|
| 1 | 2 | 3 | 4 | 5 | 6 | |
| 7 | 8 | 9 | 10 | 11 | 12 | 13 |
| 14 | 15 | 16 | 17 | 18 | 19 | 20 |
| 21 | 22 | 23 | 24 | 25 | 26 | 27 |
| 28 | 29 | 30 | 31 |
Tags
- 입력 커서
- fullBackupContent
- foreground
- freezed
- gestureRecognizers
- 플루터
- runSpacing
- TextFormField
- Could not create service of type FileAccessTimeJournal using
- Flutter SDK
- 안보내짐
- 앱
- 플러터
- Flutter
- not working
- Set ID
- StringUtils.isEmpty
- project flow
- StringUtils.isBlank
- 에러
- carousel slider
- 웹뷰
- 두 수의 나눗셈
- 크롬개발자도구
- TCP/IP모델
- VerticalMultiDragGestureRecognizer
- allowBackup
- Chrome Developer Tools
- 안드로이드
- 프로그래머스
Archives
- Today
- Total
흰오목눈이야 개발하자
[Flutter] 안드로이드 세팅 에러 ! Some Android licenses not accepted. To resolve this, run: flutter doctor --android-licenses 본문
Flutter
[Flutter] 안드로이드 세팅 에러 ! Some Android licenses not accepted. To resolve this, run: flutter doctor --android-licenses
흰오목눈이 2023. 1. 24. 22:16문제
- Flutter doctor를 실행한 후 아래와 같은 문제가 발생함.
[!] Android toolchain - develop for Android devices (Android SDK version 30.0.2)
• Android SDK at /Users/tester/Library/Android/sdk
• Platform android-31, build-tools 30.0.2
• Java binary at: /Applications/Android Studio.app/Contents/jre/Contents/Home/bin/java
• Java version OpenJDK Runtime Environment (build 11.0.10+0-b96-7281165)
! Some Android licenses not accepted. To resolve this, run: flutter doctor --android-licenses
해결
* 전제: 안드로이드 스튜디오가 미리 설치되어 있음 & PC는 맥(Mac)
! Some Android licenses not accepted. To resolve this, run: flutter doctor --android-licenses
1. 터미널을 연다
2. 아래 코드를 입력한다
flutter doctor --android-licenses
3. 모든 라이센스에 y를 입력 후 엔터키를 누른다.


4. 모든 라이센스에 동의하면 아래와 같은 결과가 나온다.

5. flutter doctor -v를 실행하여 문제가 해결되었는지 확인한다.

'Flutter' 카테고리의 다른 글
| Flutter iOS 세팅 에러 CocoaPods not installed. (0) | 2023.01.25 |
|---|---|
| Flutter iOS 세팅 에러 Xcode installation is incomplete; a full installation is necessary for iOS development. (1) | 2023.01.25 |
| [Flutter] 안드로이드 에러 cmdline-tools component is missing (0) | 2023.01.24 |
| 비주얼 스튜디오(Visual Studio)로 플러터(Flutter) 환경 설정하기 (0) | 2023.01.24 |
| 맥(Mac) Flutter SDK 설치하기 (1) | 2023.01.24 |