按照docs的说法,我添加了所有的配置。但是这个错误现在已经显现出来了。该怎么办呢?
应用程序应该安装在android上的模拟器上,没有错误。
发布于 2022-11-16 06:40:20
在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
https://stackoverflow.com/questions/74455931
复制相似问题