프로그래밍/Flutter

[Flutter] 어플 등록 플레이스토어에 등록하기2.

창수씨 2023. 5. 22. 07:18
반응형

2023/05/22(월)

느닷없이 아침에 눈이 떠졌다. 7시부터 준비하려고 해서 컴퓨터를 켜서 유튜브를 들어가려고 하는걸 가까스로 저지했다. 대신 개발자콘솔에서 어제 올려놓은 공개테스트 트랙에 뜬 오류를 확인했다. 하루만에 테스트 결과가 나왔다. 엄청 빠르다.

그리고 VSCode에서 dept를 debt로 전부 바꾸기 시작했다. 무슨 쉘에 있는것, 전부 다 바꿨다.

[{ "resource": "/D:/dev/Flutter/debt_counter/android/", "owner": "_generated_diagnostic_collection_name_#3", "code": "0", "severity": 8, "message": "The supplied phased action failed with an exception.\r\nCould not create task ':shared_preferences_android:compileDebugUnitTestSources'.\r\nthis and base files have different roots: D:\\dev\\Flutter\\debt_counter\\build\\shared_preferences_android and C:\\Users\\{사용자명}\\AppData\\Local\\Pub\\Cache\\hosted\\pub.dev\\shared_preferences_android-2.1.2\\android.", "source": "Java", "startLineNumber": 1, "startColumn": 1, "endLineNumber": 1, "endColumn": 1 }]
CMake Error: The current CMakeCache.txt directory D:/dev/Flutter/debt_counter/build/windows/CMakeCache.txt is different than the directory d:/dev/Flutter/dept_counter/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 "D:/dev/Flutter/debt_counter/windows/CMakeLists.txt" does not match the source "D:/dev/Flutter/dept_counter/windows/CMakeLists.txt" used to generate cache.  Re-run cmake with a different source directory.
Exception: Unable to generate build files

뭐 이런 에러가 뜨길래 

https://github.com/EOSIO/eos/issues/4885

 

Build issue after updating: CMake Error: The current CMakeCache.txt directory · Issue #4885 · EOSIO/eos

I just pulled latest, then tried to ./eosio_build.sh again, and this is what I am getting. >>>>>>>> ALL dependencies sucessfully found or installed . Installing EOSIO >>>>>>>> CMAKE_BUILD_TYPE=Rele...

github.com

build 폴더를 지워버리라고 해서 지웠다.

The supplied phased action failed with an exception.
Could not create task ':shared_preferences_android:compileDebugUnitTestSources'.
this and base files have different roots: D:\dev\Flutter\debt_counter\build\shared_preferences_android and C:\Users\hanju\AppData\Local\Pub\Cache\hosted\pub.dev\shared_preferences_android-2.1.2\android.

실행은 되는데 오류 메세지 뜨는게 신경 쓰인다.

 

하지만 빌드, 실행에 문제가 없어서 다시 공개 테스트에 출시했다. 나중에 결과 봐야겠다,.

++ 추가 또 안되었음)

[{
	"resource": "/D:/dev/Flutter/debt_counter/android/",
	"owner": "_generated_diagnostic_collection_name_#4",
	"code": "0",
	"severity": 8,
	"message": "The supplied phased action failed with an exception.\r\nCould not create task ':shared_preferences_android:compileDebugUnitTestSources'.\r\nthis and base files have different roots: D:\\dev\\Flutter\\debt_counter\\build\\shared_preferences_android and C:\\Users\\hanju\\AppData\\Local\\Pub\\Cache\\hosted\\pub.dev\\shared_preferences_android-2.1.2\\android.",
	"source": "Java",
	"startLineNumber": 1,
	"startColumn": 1,
	"endLineNumber": 1,
	"endColumn": 1
}]

해결해보도록 하자.

flutter clean을 해주라고 해서 프로젝트 폴더 -> cmd -> flutter clean을 해줬더니 무슨 빨간색이 파티를 벌이는데, 당황하고 있을때 ctrl + shift + P(비쥬얼 스튜디오 기준) Flutter:get Packages하니 바로 다 받아짐.

그래도 오류는 그대로다.

찾던 도중. 소름돋게도 검색에 안나오지만 여전히 dept인 부분 발견

걍 고쳤다. 될까 안될까

반응형