Warning: file_get_contents(/data/phpspider/zhask/data//catemap/3/android/200.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Android Studio:错误:任务执行失败';:***:合并调试资源'&燃气轮机;某些文件处理失败_Android_Android Studio_Resources - Fatal编程技术网

Android Studio:错误:任务执行失败';:***:合并调试资源'&燃气轮机;某些文件处理失败

Android Studio:错误:任务执行失败';:***:合并调试资源'&燃气轮机;某些文件处理失败,android,android-studio,resources,Android,Android Studio,Resources,我已经应用了上面给出的可能的解决方案,但没有运气。 只需将我现有的eclispe项目转换到studio中,并停留在这一点上 获取此错误: 错误:任务执行失败:xxx:mergeDebugResources。 某些文件处理失败 还有这个警告, libpng警告:iCCP:无法识别已编辑的已知sRGB配置文件 下面是我已经尝试过的解决方案 1> 2> 检查所有图像名称的正确扩展名 3> 多次清理和重建项目:/ 这里是build.gradle文件 apply plugin: 'com.android

我已经应用了上面给出的可能的解决方案,但没有运气。 只需将我现有的eclispe项目转换到studio中,并停留在这一点上

获取此错误:

错误:任务执行失败:xxx:mergeDebugResources。 某些文件处理失败

还有这个警告,

libpng警告:iCCP:无法识别已编辑的已知sRGB配置文件

下面是我已经尝试过的解决方案

1>

2> 检查所有图像名称的正确扩展名

3> 多次清理和重建项目:/

这里是build.gradle文件

 apply plugin: 'com.android.application'

android {
    compileSdkVersion 22
    buildToolsVersion "23.0.2"

    defaultConfig {
        applicationId "XXXXXXXXXXX"
        minSdkVersion 15
        targetSdkVersion 22
        multiDexEnabled true

        versionCode 1
        versionName "1.0"
    }

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

        debug {
            minifyEnabled false
            debuggable true
            proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
        }
    }

    dexOptions {
        javaMaxHeapSize "4g"
    }
}

dependencies {
    compile project(':main1')
    compile project(':main')
    compile 'com.android.support:appcompat-v7:22.2.1'

    compile 'com.android.support:multidex:1.0.0'


    compile 'com.google.android.gms:play-services:+'
    compile files('libs/analytics-1.2.jar')
    compile files('libs/classes.jar')
    compile files('libs/commons-httpclient-3.1.jar')
    compile files('libs/google-http-client-android2-1.10.3-beta.jar')
    compile files('libs/google-oauth-client-1.10.1-beta.jar')
    compile files('libs/httpclient-cache-4.2.5.jar')
    compile files('libs/httpcore.jar')
    compile files('libs/libGoogleAnalyticsServices.jar')
    compile files('libs/pinchzoom.jar')
    compile files('libs/universal-image-loader-1.6.1-with-src.jar')
    compile files('libs/volley.jar')
}
这是类路径

 buildscript {
    repositories {
        jcenter()
    }
    dependencies {
        classpath 'com.android.tools.build:gradle:1.5.0'
        classpath 'com.google.gms:google-services:1.5.0-beta2'


    }
}
有人能找出我错在哪里吗!!,任何建议都可以接受。 提前谢谢