答案 0 :(得分:0)
请在android / app / build.gradle文件中添加missingDimensionStrategy“ RNN.reactNativeVersion”,“ reactNative60”。
android {
...
defaultConfig {
applicationId "com.yourproject"
minSdkVersion rootProject.ext.minSdkVersion
targetSdkVersion rootProject.ext.targetSdkVersion
missingDimensionStrategy "RNN.reactNativeVersion", "reactNative60"// add this line
versionCode 1
versionName "1.0"
...
}
...
}