所以第二步就是 打开终端工具,进入 android 目录下,执行命令gradlew clean后,会有下载jar的日志输出(下载了多少/jar多大)直观明了,如这里 我在 win11下操作: 但是还是会遇到很多依赖下载慢,比如我这里的 kotlin compiler embeddable,所以我就直接去下载回来这个jar,下载地址在这里 https:///artifact/org.jetbrains.k...
1 : kotlin-compiler-embeddable 下载慢的话 去下面地址下载对应的 https://repo.maven.apache.org/maven2/org/jetbrains/kotlin/kotlin-compiler-embeddable/1.9.23/ 2 : 再去这个地址 1.9.23 和上面下载的一样 拿到一串sha1 https://repo.maven.apache.org/maven2/org/jetbrains/kotlin/kotlin-compiler-embedda...
> Could not resolve all artifacts for configuration ':classpath'. > Could not download kotlin-compiler-embeddable.jar (org.jetbrains.kotlin:kotlin-compiler-embeddable:1.3.50) > Could not get resource 'https://jcenter.bintray.com/org/jetbrains/kotlin/kotlin-compiler-embeddable/1.3.50/kotlin-compile...
本质上调用的命令是 gradlew.bat assembleDebug, 我们通过调用 gradlew.bat assembleDebug 或者 flutter run -d XXX_android -verbose 将会显式具体的操作出来 当我们使用 gradlew.bat assembleDebug 将会给我们显示出具体的下载过程,我们就会发现在现在 gradle 以及后面的一个 Gradle:Download kotlin-compiler-embeddable-1...
[ ]>Could not resolve all artifactsforconfiguration':classpath'. [ ]>Could not download kotlin-compiler-embeddable.jar (org.jetbrains.kotlin:kotlin-compiler-embeddable:1.3.5 0) [ ]>Could not get resource'https://jcenter.bintray.com/org/jetbrains/kotlin/kotlin-compiler-embeddable/1.3.50/kotlin-...
Android studio Kotlin kotlin-compiler-embeddable-1.6-M1.jar otlin-compiler-embeddable-1.6-M1 下载慢 otlin-compiler-embeddable 下载慢 直接复制到 C:\Users\xxx\.gradle\caches\modules-2\files-2.1\org.jetbrains.kotlin\kotlin-compiler-embeddable\1.6.0-M1 ...
error: FAILURE: Build failed with an exception. * What went wrong: A problem occurred configuring root project 'android'. > Could not resolve all artifacts for configuration ':classpath'. > Could not download kotlin-compiler-embeddable.j...
项目运行过程中太慢,需要优化(暂定) 引入image_gallery_saver插件 Android run运行 一直卡在Running Gradle task ‘assembleDebug‘ flutter run -v报错Could not download kotlin-compiler-embeddable.jar 下载不到一个kotlin-compiler-embeddable-1.3.72 jar包 ...
> Could not download kotlin-compiler-embeddable.jar (org.jetbrains.kotlin:kotlin-compiler-embeddable:1.3.50) > Could not get resource 'https://jcenter.bintray.com/org/jetbrains/kotlin/kotlin-compiler-embeddable/1.3.50/kotlin-compiler-embeddable-1.3.50.jar'. ...