![](/img/trans.png)
[英]Execution failed for task ':app:processReleaseResources' image_picker with Flutter
[英]Image_Picker Build Failed on Flutter (Execution failed for task ':app:transformClassesWithMultidexlistForDebug'.)
當flutter run build失敗時,我使用了image_picker( ^ 0.6.0 + 2 )和image_cropper( ^ 1.0.1 )。
Note: Recompile with -Xlint:deprecation for details.
FAILURE: Build failed with an exception.
* What went wrong:
Execution failed for task ':app:transformClassesWithMultidexlistForDebug'.
> com.android.build.api.transform.TransformException: Error while generating the main dex list.
* 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 32s
我用了很多東西來解決這個問題。無法工作。 之后,我刪除了image_picker和image_cropper,然后應用程序運行完美。
IOS工作正常,Android構建失敗
解決了
聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.