从android studio中的另一台笔记本电脑导入项目时出错

时间:2016-02-20 09:55:54

标签: java android

这个项目处于完全工作状态但是当我在我的android工作室导入时,它在构建时出现错误。我在这里发布错误图片请帮我解决这个问题。这是错误。

Error:Execution failed for task ':poondiAppSdk:processDebugResources'. > com.android.ide.common.process.ProcessException: org.gradle.process.internal.ExecException: Process 'command 'E:\StuDy\sdk\build-tools\23.0.2\aapt.exe'' finished with non-zero exit value 1

enter image description here

3 个答案:

答案 0 :(得分:0)

发布您的build.gradle文件以获得更多说明...尝试使用SDK 23编译项目

答案 1 :(得分:0)

这里是gradle



apply plugin: 'com.android.application'

android {
    compileSdkVersion 23
    buildToolsVersion "23.0.2"

    defaultConfig {
        applicationId "com.poondi.poondiapp"
        minSdkVersion 14
        targetSdkVersion 23
    }

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

dependencies {
    compile project(':facebook')
    compile project(':poondiAppSdk')
    compile 'com.google.code.gson:gson:2.2.1'
    compile 'com.google.android.gms:play-services:+'
    compile 'com.android.support:appcompat-v7:20.0.0'
    compile files('libs/picasso.jar')
}




答案 2 :(得分:0)

试试这个

android {
    compileSdkVersion 21
    buildToolsVersion "21.0.1"

    defaultConfig {
        applicationId "com.example"
        minSdkVersion 15
        targetSdkVersion 21
        versionCode 1
        versionName "1.0"
    }
dependencies {

    compile 'com.android.support:appcompat-v7:21.+'
    compile 'com.google.android.gms:play-services-maps:8.4.0'




}