我在构建我的应用程序时遇到了这个错误。我找不到有关此错误的任何相关帖子...
Error:Execution failed for task ':app:packageDebug'. > Failed to obtain compression information for entry
顶级等级:
// 顶级构建文件,您可以在其中添加所有子项目/模块通用的配置选项。
buildscript {
repositories {
jcenter()
google()
mavenCentral()
}
dependencies {
//classpath 'com.android.tools.build:gradle:2.3.3'
classpath 'com.android.tools.build:gradle:3.0.1'
// NOTE: Do not place your application dependencies here; they belong
// in the individual module build.gradle files
}
}
allprojects {
repositories {
jcenter()
google()
mavenCentral()
mavenLocal()
maven {url "C://Users/yuh5/.m2/repository"}
}
}
task clean(type: Delete) {
delete rootProject.buildDir
}