VS code 에서 flutter 실행할때, 발생할 수 있는 이슈

2024. 8. 8. 08:21·TroubleShooting

환경

Window 11 Home

 

문제

1. Android toolchain - develop for Android devices (Android SDK version 34.0.0)

  • cmdline-tools component is missing 
  • Some Android licenses not accepted. To resolve this, run: flutter doctor --android-licenses

2. Android Studio

  • android-studio-dir = C:\Program Files\Android\Android Studio
  • Android Studio not found at C:\Program Files\Android\Android Studio

TroubleShooting

cmdline-tools component is missing

  • cmdline-tools component is missing 이슈는 Android Studio -> SDK Manager -> SDK tools, 그리고 Android SDK Command-line Tools(latest)를 설치 해주면 된다
  • Some Android licenses not accepted 이슈는 VS code에서 터미널을 실행 후  flutter doctor --android-licenses 커멘드를 입력시켜주면 해결 되는데, 다른 이슈들이 존재한다면, 다른 이슈들을 해결하고 맨 마지막에 하는 것을 추천!!
  • Android Studio not found at C:\Program Files\Android\Android Studio 이슈는 말그대로 Android Studio 폴더를 찾을 수 없다는 건데, 보통은 C:\Program Files 안에 존재하지만, 필자는 C:\Android Studio 이렇게 존재하고 있었어서 터미널에 flutter config --android-studio-dir="C:\Android Studio" 경로를 설정해줌으로서 해결
     
저작자표시 비영리 변경금지 (새창열림)
'TroubleShooting' 카테고리의 다른 글
  • Expo SDK52 버전 업 이후 발생한 다양한 문제 Exception in HostFunction: Unable to convert string to floating point value: "large"
  • CommandError: spawn EPERM & CommandError: ngrok tunnel took too long to connect 해결
Jelong
Jelong
커스텀 웹: https://jaehong-park.com Github: https://github.com/qkrwoghd04
  • Jelong
    24/7 Developer's Note
    Jelong
  • 전체
    오늘
    어제
    • 분류 전체보기
      • Software Engineering
      • Ubuntu
      • Network
      • JavaScript
      • Web
      • Interaction Design
      • React Native
      • React
      • Algorithm
      • Java
      • Database design
      • IT Trend
      • TroubleShooting
      • AWS
      • Interview
      • LG CNS AM CAMP 1기
  • 블로그 메뉴

    • 홈
    • 태그
  • 링크

  • 공지사항

  • 인기 글

  • 태그

    generic
    typescript
    expo
    frontend
    heap
    React
    화이트 박스 테스트
    GPT-4
    블랙 박스 테스트
    mininet
    티스토리챌린지
    Queues
    자바스크립트
    prototyping
    JS
    javascript
    알고리즘
    자바
    이진트리
    ChatGPT
    html
    오블완
    css
    미니넷
    AWS
    java
    BST
    소프트웨어 공학
    알고리즘 분석
    데이터 구조
  • 최근 댓글

  • 최근 글

  • hELLO· Designed By정상우.v4.10.1
Jelong
VS code 에서 flutter 실행할때, 발생할 수 있는 이슈
상단으로

티스토리툴바