티스토리 뷰

반응형

플러터 작업하던 디렉토리를 옮기고 실행했더니 실행이안되는 이슈가 발생

CMake Error: The current CMakeCache.txt directory C:/Work/Flutter/bloc_sample/build/windows/CMakeCache.txt is different than the directory c:/Work/Flutter/project/bloc_sample/build/windows where CMakeCache.txt was created. This may result in binaries being created in the wrong place. If you are not sure, reedit the CMakeCache.txt  
CMake Error: The source "C:/Work/Flutter/bloc_sample/windows/CMakeLists.txt" does not match the source "C:/Work/Flutter/project/bloc_sample/windows/CMakeLists.txt" used to generate cache.  Re-run cmake with a different source directory.

 

flutter clean 명령어 실행

flutter pub get  명령어 실행

이후 다시 플러터 실행하면 해결된다 

반응형
댓글