我最近安装了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
我应该如何解决它,这不是我的应用程序的问题,而是颤振的问题
答案 0 :(得分:0)
经过多次尝试,我解决了更改cached_network_image的问题
cached_network_image: ^2.1.0+1