프론트엔드/Flutter
-
Flutter 시작하기 - sdk 세팅 및 안드로이드 스튜디오 실행프론트엔드/Flutter 2021. 3. 26. 12:25
개발 환경 : mac Flutter 를 시작하려면 문서부터 보고 차근차근 하면 된다. flutter-ko.dev/docs/get-started/install/macos 일단 flutter sdk 다운부터 하자 flutter 다운 $ cd ~/development $ unzip ~/Downloads/flutter_macos_2.0.3-stable.zip 다운받고 압축풀고, path 에 추가하자 $ export PATH="$PATH:`pwd`/flutter/bin" 위 명령어는 압축을 푼 경로에서 실행해야 한다. 또 위 명령어로 실행 하면 영구적이지 않고 터미널 열때마다 해당 작업을 해야 한다. 해서 위 명령어를 전역 path 로 저장하자. 영구적인 flutter 경로 등록 $ vi ~/.bash_profi..
-
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 do..