2
我有Android Studio的問題。之後,我聽說在不久的將來,谷歌將停止對Eclipse的支持,我決定遷移到Android Studio中,我做了後,我進口我的Eclipse的項目,我讓我不理解的錯誤:遷移到Android Studio有錯誤
Error:(3) Error retrieving parent for item: No resource found that matches the given name 'android:TextAppearance.Material.Widget.Button.Inverse'.
Error:(18) Error retrieving parent for item: No resource found that matches the given name 'android:Widget.Material.Button.Colored'.
Error:Execution failed for task ':app:processDebugResources'.
> com.android.ide.common.process.ProcessException: org.gradle.process.internal.ExecException: Process 'command 'D:\Android-sdk\build-tools\23.0.2\aapt.exe'' finished with non-zero exit value 1
這是我的build.gradle
apply plugin: 'com.android.application'
android {
compileSdkVersion 22
buildToolsVersion "23.0.2"
defaultConfig {
applicationId "morisson.rzucpalenie"
minSdkVersion 14
targetSdkVersion 22
}
buildTypes {
release {
minifyEnabled false
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.txt'
}
}
}
dependencies {
compile 'com.google.android.gms:play-services:+'
compile 'com.android.support:appcompat-v7:22.2.1'
}
我改變了它,但隨後我編譯錯誤com.android.support:appcompat-v7:22.2.1 ' – Morrison
您需要更改這些以使用23版本,因此23.1.1 – riggaroo