简体   繁体   中英

error during importing project from another laptop in android studio

this project was in completely working state but when i import in my android studio, its getting errors on built. I am posting error image here please help me to solve this problem. here is the error.

 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 

在此处输入图片说明

发布您的build.gradle文件以获取更多澄清...尝试使用SDK 23编译项目

here is 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') } 

try this

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'




}

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM