FAILURE: Build failed with an exception.
* What went wrong:
Could not determine the dependencies of task ':app:compileDebugJavaWithJavac'.
> Could not resolve all task dependencies for configuration ':app:debugCompileClasspath'.
> Could not find io.flutter:flutter_embedding_debug:1.0.0-33ad6757e88311f4fb9d341918894e2bc30e3b20.
Required by:
project :app
> Could not find io.flutter:arm64_v8a_debug:1.0.0-33ad6757e88311f4fb9d341918894e2bc30e3b20.
Required by:
project :app
> Could not find io.flutter:x86_debug:1.0.0-33ad6757e88311f4fb9d341918894e2bc30e3b20.
Required by:
project :app
> Could not find io.flutter:x86_64_debug:1.0.0-33ad6757e88311f4fb9d341918894e2bc30e3b20.
Required by:
project :app
* 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 27s
Running Gradle task 'assembleDebug'...
Running Gradle task 'assembleDebug'... Done 27.7s
Gradle task assembleDebug failed with exit code 1
粗暴的办法删除就是删除系统用户目录
C:\Users\administrator\.gradle
下的.gradle
文件夹,然后重新构建fiutter项目即可,亲测可用
网友评论