shijingsh / react-native-customized-image-picker

iOS/Android image picker with support for camera, video compression, multiple images and cropping
245 stars 59 forks source link

Android dependency 'com.android.support:recyclerview-v7' has different version for the compile (23.0.1) and runtime (25.3.1) classpath. You should manually set the same version via DependencyResolution #46

Closed vshalvaghasiya closed 4 years ago

vshalvaghasiya commented 6 years ago

apply plugin: 'com.android.library'

android { compileSdkVersion 27 buildToolsVersion "27.0.3"

defaultConfig {
    minSdkVersion 16
    targetSdkVersion 27
    versionCode 1
}
lintOptions {
    abortOnError false
}

}

dependencies { implementation fileTree(dir: 'libs', include: ['*.jar']) testImplementation 'junit:junit:4.12' //noinspection GradleCompatible implementation 'com.android.support:appcompat-v7:27.1.1' implementation 'com.facebook.react:react-native:0.20.1'

implementation 'com.mg.RxCustomizedImagePicker:library:0.0.20'
implementation 'com.android.support:recyclerview-v7:25.3.1'

implementation 'com.squareup.picasso:picasso:2.5.2'
implementation 'com.facebook.fresco:fresco:1.3.0'
implementation 'com.facebook.fresco:animated-gif:1.3.0'
implementation 'com.github.bumptech.glide:glide:3.7.0'
implementation 'com.nostra13.universalimageloader:universal-image-loader:1.9.5'
implementation 'id.zelory:compressor:2.1.0'

}

liukefu2050 commented 6 years ago

buildToolsVersion "27.0.3" 'com.android.support:recyclerview-v7:25.3.1' Set the same version

vshalvaghasiya commented 6 years ago

I am ios Application Developer so please give me solve issue.

liukefu2050 commented 6 years ago

'com.android.support:recyclerview-v7:25.3.1' change to 'com.android.support:recyclerview-v7:27.0.3'