React-native-splash-screen: com.android.support:appcompat-v7' dependency issue

Created on 30 May 2018  路  6Comments  路  Source: crazycodeboy/react-native-splash-screen

Versions:
react-native: 0.55.2
react-native-splash-screen: 3.0.7

I was facing this issue when trying to run react-native run-android.

Android dependency 'com.android.support:appcompat-v7' has different version for the compile react native splash screen

I'm able to solved this issue by editing react-native-splash-screen build.gradle file dependencies to the following code

implementation 'com.android.support:appcompat-v7:23.0.1'

and changing the compileSdkVersion to 23

Is there any other way to resolve this issue without modifying the gradle file?
Thanks

Most helpful comment

Upgrading gradle doesn't help me. I'm using gradle version 3.1.1 and still having the issue.

All 6 comments

219 This one would help

Upgrading gradle doesn't help me. I'm using gradle version 3.1.1 and still having the issue.

same issue , same Upgrading gradle doesn't help

@aqnaruto
default
default
default
default

defaultdefaultdefaultdefault

Beginning with the 3.0.9 version build.gradle will be kept with react-native build.gradle.

Was this page helpful?
0 / 5 - 0 ratings