Flutter Android Studio 셋팅 Ubuntu

 플러터가 이미 Ubuntu에 설치된 상태에서 Android Studio를 셋업하도록 하겠습니다.

Ubuntu에 Flutter를 설치하는 방법에 대해서는 이전글을 참고해주시기 바랍니다.

이전글 : Flutter 설치(install) Ubuntu


위 블로그를 따라하기 전에 아래 공식사이트도 참고해 주시기 바랍니다.

Linux install|Flutter : https://docs.flutter.dev/get-started/install/linux#android-setup


1. 먼저 해당 로컬에서 Flutter를 실행하기 위한 조건이 충족되지 않은 것에 대해서 알아보기


$ flutter doctor


여기서 Android Studio를 설치하겠습니다.

다운로드 링크 : https://developer.android.com/studio




저는 'android-studio-2022.1.1.21-linux.tar.gz'을 받아서 설치하겠습니다.


먼저 'tar.gz'을 풀어줍니다. (해당 tar.gz파일이 존재하는 경로에서 실행)

$ tar xzf android-studio-2022.1.1.21-linux.tar.gz




저는 해당 'android-studio'폴더를 루트경로로 옮겨서 실행할 것입니다.


$ mv -f android-studio ~/android-studio


이제 'studio.sh'을 실행애 줍니다.


설치를 진행해 줍니다.













처음 프로젝트를 만들고 아래와 같이 SDK Manager에 들어가서 'Android SDK Command-line Tools(latest)' 선택해 줍니다.




이제 android-licenses가 필요합니다. 아래 내용대로 'flutter doctor --android-licenses'를 실행해 봅니다.







이제 Linux toolchain을 셋팅해야 하는데 이는 다음 글에서 작성하도록 하겠습니다.


다음글 : Flutter Linux toolchain 셋팅 Ubuntu


댓글

이 블로그의 인기 게시물

Lesson 12_1 프로퍼티 노드(Property Node)

DAQ로 전압 측정하기-2

Lesson 12_2 참조를 이용한 프로퍼티노드(Property Node)