gpt4 book ai didi

android - 每次我运行任何应用程序时Flutter都会给我错误

转载 作者:行者123 更新时间:2023-12-03 03:55:25 24 4
gpt4 key购买 nike

我最近安装了flutter,但是每当我运行任何flutter应用程序时,都会显示此错误-

FAILURE: Build failed with an exception.

* Where:
Script '/Users/ashvinbhagat/development/flutter/packages/flutter_tools/gradle/flutter.gradle' line: 1

* What went wrong:
Could not compile script '/Users/ashvinbhagat/development/flutter/packages/flutter_tools/gradle/flutter.gradle'.
> startup failed:
script '/Users/ashvinbhagat/development/flutter/packages/flutter_tools/gradle/flutter.gradle': 1: expecting EOF, found ':' @ line 1, column 32.
Script started on Wed Apr 29 18:07:22 2020
^

1 error


* 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 1s
Finished with error: Gradle task assembleDebug failed with exit code 1


我应该如何解决它,这不是我的应用程序的问题,而是 flutter 的问题

最佳答案

经过大量尝试,我通过更改cached_network_image解决了该问题
cached_network_image: ^2.1.0+1

关于android - 每次我运行任何应用程序时Flutter都会给我错误,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/61501872/

24 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com