Android Studio 初始化 Kotlin 项目时报错:Could not download kotlin-compiler-embeddable.jar

发布时间: 2019-11-23 20:52:13 作者: 大象笔记

按照 Google 官方教程, 在 Android Studio 3.5 初始化 Kotlin 项目时报错:

ERROR: Could not download kotlin-compiler-embeddable.jar (org.jetbrains.kotlin:kotlin-compiler-embeddable:1.3.50): No cached version available for offline mode

解决方法:

File - Settings - Build, Execution, Deployment - Gradle

取消 Offline work 选项即可。

我是一名山东烟台的开发者,联系作者