Android-image-cropper: Not compatible with the library 26

Created on 31 Jul 2017  路  8Comments  路  Source: ArthurHub/Android-Image-Cropper

Error:Execution failed for task ':app:processDebugManifest'.

Manifest merger failed : Attribute meta-data#android.support.VERSION@value value=(26.0.0-alpha1) from [com.android.support:design:26.0.0-alpha1] AndroidManifest.xml:27:9-38
is also present at [com.android.support:exifinterface:25.3.1] AndroidManifest.xml:24:9-31 value=(25.3.1).
Suggestion: add 'tools:replace="android:value"' to element at AndroidManifest.xml:25:5-27:41 to override.

Most helpful comment

@Shreyas-R you need to manually add com.android.support:exifinterface to your build.gradle (as you're excluding it from the library itself):
compile "com.android.support:exifinterface:$supportLibraryVersion"

All 8 comments

Yes, its not working. Please update the SDK versions ASAP.

Now it is fixed

i have same problem.
I updated sdk, but the problem did not dare.
Please help, how to fix this?

You can add
compile('com.theartofdev.edmodo:android-image-cropper:2.4.7') { exclude group: 'com.android.support' } in gradle

If you exclude com.android.support @NoManMade then it builds fine but app crashes when you use cropping within the app with exif class not found exception.

@Shreyas-R you need to manually add com.android.support:exifinterface to your build.gradle (as you're excluding it from the library itself):
compile "com.android.support:exifinterface:$supportLibraryVersion"

v2.5.0 is using sdk 26

Error :
Program type already present: android.arch.lifecycle.LiveData$LifecycleBoundObserver

Program type already present: android.arch.lifecycle.LiveData$LifecycleBoundObserver
Message{kind=ERROR, text=Program type already present: android.arch.lifecycle.LiveData$LifecycleBoundObserver, sources=[Unknown source file], tool name=Optional.of(D8)}

Was this page helpful?
0 / 5 - 0 ratings