这是我在我的项目中的配置:
在项目的 build.gradle 中,我有
buildscript {
repositories {
google()
jcenter()
}
}
....
allprojects {
repositories {
google()
jcenter()
maven { url "https://jitpack.io" }
}
}
Run Code Online (Sandbox Code Playgroud)
当我在 Build Output 中使用“Build> Rebuild Project”命令时,我收到此错误:
Execution failed for task ':app:mergeDebugResources'.
Could not resolve all files for configuration ':app:_internal_aapt2_binary'.
Could not download aapt2-4.1.0-6503028-windows.jar …Run Code Online (Sandbox Code Playgroud)