title: Error in running npx react-native CLI in Android emulator
body: <p>Getting error while running npx react-native CLI in Android emulator<br />
  command: <code>npx react-native run-android</code></p>
  <pre class="lang-none prettyprint-override"><code>error: BUILD FAILED in 3s
      at makeError (D:\TestProject\node_modules\@react-native-community\cli-platform-android\node_modules\execa\index.js:174:9)
      at D:\TestProject\node_modules\@react-native-community\cli-platform-android\node_modules\execa\index.js:278:16
      at processTicksAndRejections (node:internal/process/task_queues:96:5)
      at async runOnAllDevices (D:\TestProject\node_modules\@react-native-community\cli-platform-android\build\commands\runAndroid\runOnAllDevices.js:109:5)
      at async Command.handleAction (D:\TestProject\node_modules\@react-native-community\cli\build\index.js:192:9) info 
  Run CLI with --verbose flag for more details.
  </code></pre>