Q1: Could not find com.android.support:appcompat-v7:27.1.1.问题解决
1 allprojects {
2 repositories {
3 jcenter()
4 maven { url "https://maven.google.com" }//添加这个就可以
5 }
6 }
Q2: com.android.builder.internal.aapt.AaptException
1 android {
2 compileSdkVersion 27
3 buildToolsVersion "28.0.3"
4 //添加这两行
5 aaptOptions.cruncherEnabled = false
6 aaptOptions.useNewCruncher = false
7 }
Q3: Your project path contains non-ASCII characters
在 gradle.properties 中再进行配置,添加如下配置即可解决
com.android.build.gradle.overridePathCheck=true