[英]Gradle KTS Build Files
Google 发布了Android Studio 3.5的更新版本。 更新到此版本后,我收到以下警告:
This project uses Gradle KTS build files which are not fully supported.
Some functions may be affected.
但是,我相信此警告仅限于使用 Gradle 的 Kotlin DSL 来管理其依赖项的开发人员。 而不是使用 groovy 脚本。
您使用的是哪个 gradle 版本。您是否尝试将 gradle 更新到较新的版本,例如 3.6.2
在项目文件夹而不是应用程序文件夹中更新 build.gradle 中的build.gradle
classpath 'com.android.tools.build:gradle:3.6.2'
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.