title: React Native project can't be open with android emulator
body: <p>I'm a newbie to react native. I started a new project and followed all the steps. I had Android Studio before and I started the emulator with it. After running <code>npx react-native run-android</code> command I get this error.</p>
  
  <pre><code>**FAILURE: Build failed with an exception.
  * What went wrong:
  Task 'installDebug' not found in project ':app'.
  * Try:
  Run gradlew tasks to get a list of available tasks. Run with --stacktrace option to get the stack trace. Run with --info or --debug
  option to get more log output. Run with --scan to get full insights.
  * Get more help at https://help.gradle.org
  BUILD FAILED in 34s
  error Failed to install the app. Make sure you have the Android development environment set up: https://reactnative.dev/docs/environment-setup. Run CLI with --verbose flag for more details.
  Error: Command failed: gradlew.bat app:installDebug -PreactNativeDevServerPort=8081
  FAILURE: Build failed with an exception.
  * What went wrong:
  Task 'installDebug' not found in project ':app'.
  * Try:
  Run gradlew tasks to get a list of available tasks. Run with --stacktrace option to get the stack trace. Run with --info or --debug
  option to get more log output. Run with --scan to get full insights.
  * Get more help at https://help.gradle.org
  BUILD FAILED in 34s**
  </code></pre>
  
  <p>Then I ran <code>abd -d</code> command and I get this.</p>
  
  <pre><code>Android Debug Bridge version 1.0.41
  Version 29.0.6-6198805
  Installed as C:\Users\User\AppData\Local\Android\Sdk\platform-tools\adb.exe
  </code></pre>
  
  <p>Can you please help me with this?</p>