I have added all the configuration as per the docs said. But this error is showing now. What to do?
the app should install on simulator on android without error
I have added all the configuration as per the docs said. But this error is showing now. What to do?
the app should install on simulator on android without error
Insert the following lines in android/build.gradle
buildscript {
ext {
buildToolsVersion = "28.0.3"
minSdkVersion = 16
compileSdkVersion = 28
targetSdkVersion = 28
supportLibVersion = "28.0.0"
googlePlayServicesVersion = "16.1.0" // Insert or set latest version
androidMapsUtilsVersion = "0.5+"
}
}
android {
...
default config {
...
missingDimensionStrategy 'react-native-camera', 'general' // <--- insert this line
}
}
https://react-native-camera.github.io/react-native-camera/docs/installation