I upgraded the gradle version to 5.4.1 in an old project, and encountered the following problems. The reference address of the project is https://github.com/lyc7898/AndroidTech I modified the configuration of the build.gradle file, as shown below
Try this in your project's build.gradle
buildscript
repositories {
google()
jcenter()
mavenLocal()
maven {
url "https://plugins.gradle.org/m2/"
}
}
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.