-
Flutter 시작 오류 - Could not determine the dependencies of task ':app:compileDebugJavaWithJavac'.프론트엔드/Flutter 2021. 3. 26. 00:47
MacOs catalina
에서 플러터 깔고 안드로이드 스튜디오로 안드로이드 폰 usb 연결해서 빌드 시키면
실행이 안된다.
아이폰 시뮬레이터는 실행되고 안드로이드만 동작하지 않는다.
에러문구는 아래와 같다.
FAILURE: Build failed with an exception.
* What went wrong:
Could not determine the dependencies of task ':app:compileDebugJavaWithJavac'.> Failed to install the following Android SDK packages as some licences have not been accepted.
~~~~~
라이센스가 없다는 의미로 터미널로 입력하면 된다.
$ flutter doctor --android-licenses
여러 질문이 있는데 다 y yes 를 하면 된다.
명령어 치고 yes 를 입력한 뒤 바로 빌드하면 헬로우 월드 앱이 잘 실행된다.
참고
https://stackoverflow.com/questions/60467477/android-sdk-tools-option-is-missing-from-sdk-manager-in-android-studio-3-6-1
반응형'프론트엔드 > Flutter' 카테고리의 다른 글
Flutter 시작하기 - sdk 세팅 및 안드로이드 스튜디오 실행 (0) 2021.03.26