error ENOENT: no such file or directory, open 'app\build\intermediates\merged_manifests\debug\AndroidManifest.xml'. Run CLI with --verbose flag for more details.
Error: ENOENT: no such file or directory, open 'app\build\intermediates\merged_manifests\debug\AndroidManifest.xml'
at Object.openSync (fs.js:457:3)
at Object.readFileSync (fs.js:359:35)
at getLaunchPackageName (E:\ReactJS\project1\node_modules\@react-native-community\cli-platform-android\build\commands\runAndroid\getLaunchPackageName.js:161:33)
at buildAndRun (E:\ReactJS\project1\node_modules\@react-native-community\cli-platform-android\build\commands\runAndroid\index.js:163:63)
at E:\ReactJS\project1\node_modules\@react-native-community\cli-platform-android\build\commands\runAndroid\index.js:135:12
at processTicksAndRejections (internal/process/task_queues.js:97:5)
at async Command.handleAction (E:\ReactJS\project1\node_modules\@react-native-community\cli\build\index.js:182:9)
答案 0 :(得分:0)
添加到您的package.json中:
"resolutions": {
"@react-native-community/cli-platform-android": "2.9.0"
},