I\'m trying to upgrade an application to React Native 0.57.1. I think I\'ve followed all the steps, upgraded all the right files, yet I\'m still getting an error that I cann
Reason for the error:
You have installed react-native-document-picker as a dependency, And the reason for this error is that the configurations of your android/app/build.gradle
and node_modules/react-native-document-picker/android/build.gradle
mismatch.
Solution
node_modules/react-native-document-picker/android/build.gradle
compileSdkVersion
buildToolsVersion
minSdkVersion
targetSdkVersion
same as you have in android/app/build.gradle
./gradlew assembleRelease
from the terminal.