【发布时间】:2021-06-29 19:10:31
【问题描述】:
我使用 flutter create app01 创建了我的第一个 Flutter 项目,当我尝试在我的物理设备上运行它时,我收到了这个错误:
[+14236 ms] Starting a Gradle Daemon (subsequent builds will be faster)
[+1928375 ms] FAILURE: Build failed with an exception.
[ +19 ms] * What went wrong:
[ +4 ms] A problem occurred configuring root project 'android'.
[ +2 ms] > Could not resolve all artifacts for configuration ':classpath'.
[ +4 ms] > Could not download kotlin-compiler-embeddable-1.3.50.jar
(org.jetbrains.kotlin:kotlin-compiler-embeddable:1.3.50)
[ +3 ms] > Could not get resource
'https://jcenter.bintray.com/org/jetbrains/kotlin/kotlin-compiler-embeddable/1.3.50/kotlin-compiler-embeddable-1.3.50.ja
r'.
[ +2 ms] > Premature end of Content-Length delimited message body (expected: 36,615,572; received:
19,922,800)
我做错了什么?
【问题讨论】:
标签: android flutter dart gradle