質問です。 AndroidStudio ビルドエラーで実行出来きなくて本当に困っています。 1ヶ月程前は実行出来ていた環境でした。 環境 OSX 10.10.4 AndroidStudio 1.2.2 jdk1.7.0_79.jdk ソースと参考にしたURLを下に載せました。 buildscript { ext.kotlin_version = '0.12.412' repositories { jcenter() mavenCentral() } dependencies { classpath 'com.android.tools.build:gradle:1.2.3' classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version" classpath "org.jetbrains.kotlin:kotlin-android-extensions:$kotlin_version" } } apply plugin: "com.android.application" apply plugin: 'kotlin-android' repositories { jcenter() mavenCentral() } android { compileSdkVersion 22 buildToolsVersion "22.0.1" defaultConfig { applicationId "jp.trustridge.macaroni.app" minSdkVersion 16 targetSdkVersion 22 versionCode 10 versionName "1.6" } compileOptions { sourceCompatibility JavaVersion.VERSION_1_7 targetCompatibility JavaVersion.VERSION_1_7 } buildTypes { release { minifyEnabled true proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro' } } sourceSets { main.java.srcDirs += 'src/main/kotlin' } } dependencies { compile 'com.android.support:support-v13:+' compile 'com.android.support:appcompat-v7:+' compile 'com.android.support:recyclerview-v7:+' compile 'com.google.android.gms:play-services:+' compile "org.jetbrains.kotlin:kotlin-stdlib:+" compile 'com.parse.bolts:bolts-android:+' compile fileTree(dir: 'libs', include: ['*.jar']) // volley compile 'com.mcxiaoke.volley:library:+' // realm compile 'io.realm:realm-android:+' // adjust //compile 'com.adjust.sdk:adjust-android:+' } エラー文 Error:Execution failed for task ':app:dexDebug'. > com.android.ide.common.process.ProcessException: org.gradle.process.internal.ExecException: Process 'command '/Library/Java/JavaVirtualMachines/jdk1.7.0_79.jdk/Contents/Home/bin/java'' finished with non-zero exit value 2 参考URL http://markfour.blogspot.jp/2015/03/androidsdkerrorexecution-failed-for.html 参考にしたスタックオーバーフローの質問 『[AndroidStudio(gradle)でビルドエラー Process finished with non-zero exit value 2](http://ja.stackoverflow.com/q/8020/7290)』 試した事 `compile fileTree(dir: 'libs', include: ['*.jar'])`をコメントアウト→エラー(`Warning:(5, 31) 'ActionBarActivity' is deprecated. Deprecated in Java`など) //以下をコメントアウトでエラー compile 'com.android.support:support-v13:+' compile 'com.android.support:appcompat-v7:+' compile 'com.android.support:recyclerview-v7:+' compile 'com.google.android.gms:play-services:+' compile "org.jetbrains.kotlin:kotlin-stdlib:+" compile 'com.parse.bolts:bolts-android:+' // volley compile 'com.mcxiaoke.volley:library:+' // realm compile 'io.realm:realm-android:+' Error:(1) Error retrieving parent for item: No resource found that matches the given name 'Theme.AppCompat.Light.DarkActionBar'. Error:(10, 21) No resource found that matches the given name: attr 'colorAccent'. Error:(4, 21) No resource found that matches the given name: attr 'colorPrimary'. Error:(7, 21) No resource found that matches the given name: attr 'colorPrimaryDark'. Error:Execution failed for task ':app:processDebugResources'. > com.android.ide.common.process.ProcessException: org.gradle.process.internal.ExecException: Process 'command '/Users/makki/Library/Android/sdk/build-tools/22.0.1/aapt'' finished with non-zero exit value 1