我在我的M1 MacBook Air中得到了这个错误:
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
字符串
所以我发现解决方案是像这样重建我的应用程序:
但我的导航栏是这样的:
如何重建我的应用程序?
2条答案
按热度按时间jecbmhm31#
单击查看选项,选择Command-Build,键入view Rebuild
fhity93d2#
尝试使用非苹果电脑,看看它是否工作