多くの依存関係を使用しており、すべての依存関係が必要な Andoird アプリを作成していますが、rippleColor
既に定義されていることを示すエラーが発生しました。
インターネットで検索したところ、依存関係がvalues.xmlで同じ名前であることがわかりました。
エラー 1:-
属性「rippleColor」はすでに定義されています
エラー 2:-
エラー: タスク ':app:processDebugResources' の実行に失敗しました。com.android.ide.common.process.ProcessException: org.gradle.process.internal.ExecException: プロセス 'コマンド' C:\Users\RANJEET JAIN\AppData\Local\Android\sdk\build-tools\22.0.1\ aapt.exe '' はゼロ以外の終了値 1 で終了しました
私のグラドル
apply plugin: 'com.android.application'
android {
compileSdkVersion 22
buildToolsVersion "22.0.1"
defaultConfig {
applicationId "ranjeet.example.com.finance"
minSdkVersion 14
targetSdkVersion 22
versionCode 1
versionName "1.0"
}
buildTypes {
release {
minifyEnabled false
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
}
}
}
dependencies {
compile fileTree(dir: 'libs', include: ['*.jar'])
compile 'com.github.navasmdc:MaterialDesign:1.5@aar'
compile 'com.android.support:appcompat-v7:22.2.1'
compile 'com.parse:parse-android:1.10.2'
compile 'info.hoang8f:fbutton:1.0.5'
compile 'com.nineoldandroids:library:2.4.0'
compile 'com.daimajia.easing:library:1.0.1@aar'
compile 'com.daimajia.androidanimations:library:1.1.3@aar'
compile 'com.android.support:recyclerview-v7:22.2.1'
compile 'com.android.support:design:22.2.1'
}