Android 프로젝트를 만들고 있습니다. 다음 그라데이션 구성. 모든 것이 잘 작동했습니다. 프로젝트에 lottie-android 라이브러리를 추가 할 때까지.라이브러리와 프로젝트 사이의 요점 의존성 충돌 android
apply plugin: 'com.android.application'
apply plugin: 'realm-android'
android {
compileSdkVersion 25
buildToolsVersion "25.0.2"
defaultConfig {
applicationId "com.ignite.a01hw909350.kolamdemo"
minSdkVersion 19
targetSdkVersion 25
versionCode 1
versionName "1.0"
vectorDrawables.useSupportLibrary = true
testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner"
ndk {
abiFilters "armeabi", "armeabi-v7a", "x86", "mips"
}
}
buildTypes {
release {
minifyEnabled false
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
}
}
aaptOptions {
noCompress 'KARMarker'
noCompress 'armodel'
}
}
dependencies {
compile fileTree(include: ['*.jar'], dir: 'libs')
androidTestCompile('com.android.support.test.espresso:espresso-core:2.2.2', {
exclude group: 'com.android.support', module: 'support-annotations'
})
compile project(':KudanAR')
compile 'com.android.support:appcompat-v7:25.3.1'
compile 'com.android.support.constraint:constraint-layout:1.0.2'
compile 'com.android.volley:volley:1.0.0'
compile 'nl.dionsegijn:konfetti:1.0.2'
compile 'me.zhanghai.android.materialprogressbar:library:1.4.1'
compile 'io.palaima:smoothbluetooth:0.1.0'
compile 'com.android.support:recyclerview-v7:25.3.1'
compile 'com.afollestad.material-dialogs:core:0.9.3.0'
compile 'com.flurgle:camerakit:0.9.17'
compile 'com.github.zhukic:sectioned-recyclerview:1.0.0'
compile 'com.android.support:cardview-v7:25.3.1'
compile 'com.prolificinteractive:material-calendarview:1.4.3'
compile 'com.github.bumptech.glide:glide:3.8.0'
compile 'com.android.support:design:25.3.1'
compile 'com.github.barteksc:android-pdf-viewer:2.4.0'
compile 'org.rajawali3d:rajawali:[email protected]'
compile 'com.tapadoo.android:alerter:2.0.0'
compile 'com.google.android.gms:play-services-location:11.0.4'
compile 'com.github.GoodieBag:ProtractorView:v1.2'
compile 'com.android.support:gridlayout-v7:25.3.1'
compile 'com.stepstone.stepper:material-stepper:3.3.0'
compile 'pub.devrel:easypermissions:0.4.3'
compile 'com.intuit.sdp:sdp-android:1.0.4'
compile 'com.github.apl-devs:appintro:v4.2.2'
compile 'com.airbnb.android:lottie:2.2.5'
testCompile 'junit:junit:4.12'
}
나는 gradle에 compile 'com.airbnb.android:lottie:2.2.5'
을 추가하고 컴파일 할 때. 오류가 발생했습니다.
Error:Failed to resolve: com.android.support:appcompat-v7:26.1.0
나는 싶어 현재 나의 SDK를 업데이트 해달라고. 이 오류를 피할 수있는 방법은 무엇입니까? 응용 프로그램 build.gradle에서
를 추가 빌드 스크립트에 이것을 추가합니다. https://stackoverflow.com/questions/46443975/manifest-merger-failed-with-multiple-errors-while-updating-to-api-26-in-android/ – XoXo
답변을 업데이트했습니다. 문제가 해결되는지 알려주세요. – Benjamin
나는 똑같이 노력했다. 하지만 이상한 오류가 나타납니다. 이와 관련된 다른 질문을 확인하십시오. Merger Manifest 오류가 발생합니다. https://stackoverflow.com/questions/46443975/manifest-merger-failed-with-multiple-errors-while-updating-to-api-26-in-android/ – XoXo