npx react-native init rn_web --version 0.62.2
npm run android
若启动Android报错
Could not resolve all files for configuration ':app:debugRuntimeClasspath'. Failed to transform react-native-0.71.0-rc.0-debug.aar (com.facebook.react:react-native:0.71.0-rc.0) to match attributes {artifactType=android-aar-metadata,
参考
React Native app not running without doing anything in the previous working code - Stack Overflow