我试图编译一个开源项目(从github下载),
我还附上了我的SDK管理器图像,
我谷歌了很多这个问题,但由于(我),新的安卓蜜蜂,我无法正确理解问题和解决这些问题。我安装APILevel23作为解决方案,但一无所获。任何帮助将被占用,谢谢提前。
安卓演播室信息
Android 3.4.1 Build #AI-183.6156.11.34.5522156,建于2019年5月2日,JRE: 1.8.0_152-release-1343-b01 amd64 JVM: OpenJDK 64位服务器VM,由JetBrains s.r.o Windows 10 10.0编写
*我的build.gradle (项目: XXX)
发布于 2020-04-21 06:33:20
请尝试将google()添加到build.gradle中(Project:xxx)
// Top-level build file where you can add configuration options common to all sub-projects/modules.
buildscript {
repositories {
google() // ---------------------------------(here)
jcenter()
}
dependencies {
classpath 'com.android.tools.build:gradle:3.6.3'
// NOTE: Do not place your application dependencies here; they belong
// in the individual module build.gradle files
}
}
allprojects {
repositories {
google() //-----------------------------(here)
jcenter()
maven {
url 'https://maven.google.com'
}
}
}
task clean(type: Delete) {
delete rootProject.buildDir
}https://stackoverflow.com/questions/61324569
复制相似问题