Android dependency 'com.android.support:support-v4' has different version for the compile (26.1.0...

在项目中加入react-native-camera的时候 出现的错误.

解决方案:

修改

implementation project(':react-native-camera')

implementation (project(':react-native-camera')) {
        exclude group: "com.android.support"
    }

查看原文

Could not find play-services-basement.aar (com.google.android.gms:play-services-basement:15.0.1).

解决方案:

It was enough for me to move jcenter() below google() within allprojects.repositories in android/build.gradle

查看原文

你可能感兴趣的:(Android dependency 'com.android.support:support-v4' has different version for the compile (26.1.0...)