최근 이클립스에 있는 프로젝트를 안드로이드 스튜디오에 임포트 시키는 작업을 했습니다. 근데 빌드중에 gradle 쪽에 오류가 나더군요 인터넷에 이거저거 알아봤지만 그래도 잘 모르겠어서 질문남깁니다.
apply plugin: 'com.android.application'
android {
compileSdkVersion 23
buildToolsVersion "23.0.0"
defaultConfig {
applicationId "kr.co.testa.app"
minSdkVersion 15
targetSdkVersion 23
multiDexEnabled true
}
buildTypes {
release {
minifyEnabled false
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.txt'
}
}
}
dependencies {
compile 'com.google.android.gms:play-services:+'
compile 'com.android.support:support-v4:23.+'
compile files('libs/libGoogleAnalyticsServices.jar')
}
// Top-level build file where you can add configuration options common to all sub-projects/modules.
buildscript {
repositories {
jcenter()
}
dependencies {
classpath 'com.android.tools.build:gradle:1.2.3'
// NOTE: Do not place your application dependencies here; they belong
// in the individual module build.gradle files
}
}
allprojects {
repositories {
jcenter()
maven { url "https://jitpack.io" }
}
}
설정은 이런식으로 했습니다.
오류는 경로에 이미지가 있지만 이미지를 못찾는다고 말하는
D:\Android_app\testa\app\src\main\res\layout\question_list_content.xml
Error:(38, 22) No resource found that matches the given name (at 'src' with value '@drawable/rnd_br_next').
이 오류와 맨 하단에
Error:Execution failed for task ':app:processDebugResources'.
> com.android.ide.common.process.ProcessException: org.gradle.process.internal.ExecException: Process 'command 'C:\Users\sgsgf\android-sdks\build-tools\23.0.0\aapt.exe'' finished with non-zero exit value 1
이 오류 입니다. build 툴을 이거저거 변경해보긴 했지만 ㅠㅠ 그래도 여기저기서 오류가 생기네요 ㅠ