본문 바로가기
프레임워크/flutter

[Error] FAILURE: Build failed with an exception.

by seongjko 2023. 11. 6.
728x90
FAILURE: Build failed with an exception.

* What went wrong:
Execution failed for task ':image_picker_android:parseDebugLocalResources'.
> A failure occurred while executing com.android.build.gradle.internal.res.ParseLibraryResourcesTask$ParseResourcesRunnable
   > Failed file name validation for file /Users/koseongjun/Desktop/caker/build/image_picker_android/intermediates/packaged_res/debug/xml/flutter_image_picker_file_paths 2.xml

* Try:
> Run with --stacktrace option to get the stack trace.
> Run with --info or --debug option to get more log output.
> Run with --scan to get full insights.

* Get more help at https://help.gradle.org

BUILD FAILED in 2s
Exception: Gradle task assembleDebug failed with exit code 1

 

요런 에러가 발생했는데 

flutter clean하고 

flutter pub get 해주니까 완치됐다. 

Note: Some input files use or override a deprecated API.
Note: Recompile with -Xlint:deprecation for details.

이런 에러가 뜨긴 했는데 앱이 빌드되기는 한다.

 

반응형

'프레임워크 > flutter' 카테고리의 다른 글

[개념]SDK version check  (0) 2023.11.07
[Error]Formatexception: invalid date format  (0) 2023.11.07
[tips]terminal에서 앱 돌리기  (0) 2023.10.23
[tip] flutter document  (0) 2023.10.20
[뻘짓]dialog: stateless? stateful?  (0) 2023.10.19