【问题标题】:Execution failed for task ':app:packageDebug'. > Failed to obtain compression information for entry任务 ':app:packageDebug' 执行失败。 > 获取条目压缩信息失败
【发布时间】:2018-06-12 19:42:14
【问题描述】:

我在构建应用程序时遇到此错误。我找不到有关此错误的任何相关帖子...

Error:Execution failed for task ':app:packageDebug'. > Failed to obtain compression information for entry

顶级gradle:

// 顶级构建文件,您可以在其中添加所有子项目/模块通用的配置选项。

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
}

【问题讨论】:

    标签: android opencv gradle dl4j


    【解决方案1】:

    结果对我来说内存不足。使用instructions here 解决了我的问题。

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 2016-09-17
      • 2017-08-22
      • 1970-01-01
      • 2020-03-07
      • 2023-03-15
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      相关资源
      最近更新 更多