Flutter 버전 업그레이드 방법. (Error: No pubspec.yaml file found.)


Flutter 버전 업그레이드 방법. (Error: No pubspec.yaml file found.)

BLE IPS 프로젝트 이 후, 플루터를 다시 할려고 하니 제법 업그레이드가 많이 나와있다. flutter --version cmd 화면에 위 명령어를 입력하여 flutter의 버전을 확인한다. 흠. 3.0.1 버전이다.

거의 flutter 3 버전이 나왔을 때 처음 사용해본 듯하다. flutter upgrade 위 명령을 통해 flutter를 업그레이드 진행한다. ?. Error: No pubspec.yaml file found.

This command should be run from the root of your Flutter project. Do not run this command from the root of your git clone of Flutter.

에러가 발생한다. 머지?

재설치할 필요 없으니 아래 방법으로 실시한다. 간단히 찾아보니 기본 경로에서 실행하는 것이 아니라 flutter project 경로에서 터미널에서 실행해야한다는 것이다.

나는 visual cod...


#flutter #버전 #업그레이드

원문링크 : Flutter 버전 업그레이드 방법. (Error: No pubspec.yaml file found.)