【问题标题】:Error:Execution failed for task ':app:mergeDebugResources'. > Error: Some file crunching failed, see logs for details错误:任务“:app:mergeDebugResources”执行失败。 > 错误:某些文件处理失败,请参阅日志了解详细信息
【发布时间】:2017-07-28 15:35:28
【问题描述】:

我只是将代码源eclipse导入android studio。

我该如何解决?

应用插件:'com.android.application'

android {
    compileSdkVersion 17
    buildToolsVersion "26.0.1"

    defaultConfig {
        applicationId "com.[enter image description here][1]motivation.cheer"
        minSdkVersion 7
        targetSdkVersion 15
        multiDexEnabled false
    }

    buildTypes {
        release {
            minifyEnabled false
            proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.txt'
        }
    }

    dexOptions {
        preDexLibraries true
    }
    dependencies {
        compile 'com.android.support:support-v4:18.0.0'
        compile 'com.google.android.gms:play-services:+'
    }
}

【问题讨论】:

  • applicationId "com.[enter image description here][1]motivation.cheer" 闻起来很腥。这就是你在 build.gradle 中真正得到的吗?另外,您能否发布构建过程的完整堆栈跟踪,以便我们查看可能出现的问题?
  • 欢迎来到 SO!阅读这篇关于如何提出好问题的帖子:stackoverflow.com/help/how-to-ask 我鼓励您编辑您的问题以增加获得答案的机会。

标签: android eclipse android-studio admob


【解决方案1】:

尝试转到构建 - 重建项目。

【讨论】:

    猜你喜欢
    • 2016-09-04
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 2017-10-06
    • 2017-11-17
    • 1970-01-01
    • 2018-04-29
    相关资源
    最近更新 更多