Error: Program type already present: androidx.versionedparcelable.ParcelImpl
You use support library whereas new version of Image-Cropper
Library used androidx
library.
check change log
So, You have two option either you can move to androidx
or change library version to old version
api 'com.theartofdev.edmodo:android-image-cropper:2.7.0'
I solved my issue by downgrading butterknife dependencies to version 8.8.1
// BUTTERKNIFE
implementation 'com.jakewharton:butterknife:8.8.1'
annotationProcessor 'com.jakewharton:butterknife-compiler:8.8.1'
Alternatively, another solution was me for searching through entire project files for any import statements using androidx and then replacing them with the android.support version.
In my case I found -
import androidx.annotation.NonNull;
which I replaced with import android.support.annotation.NonNull;