title: Could not determine the dependencies of task ':app:installDebug' react native on visual studio code
body: <p>Deprecated Gradle features were used in this build, making it incompatible with Gradle 7.0.
  Use '--warning-mode all' to show the individual deprecation warnings.
  See <a href="https://docs.gradle.org/6.2/userguide/command_line_interface.html#sec:command_line_warnings" rel="nofollow noreferrer">https://docs.gradle.org/6.2/userguide/command_line_interface.html#sec:command_line_warnings</a></p>
  <p>FAILURE: Build failed with an exception.</p>
  <ul>
  <li>What went wrong:
  Could not determine the dependencies of task ':app:installDebug'.</li>
  </ul>
  <blockquote>
  <p>java.io.IOException: The filename, directory name, or volume label syntax is incorrect</p>
  </blockquote>
  <ul>
  <li><p>Try:
  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.</p>
  </li>
  <li><p>Get more help at <a href="https://help.gradle.org" rel="nofollow noreferrer">https://help.gradle.org</a>
  I installed react-native using <code>npx react-native init mobile</code> and after installing all the dependencies and try running with <code>yarn android</code> which ran <code>react-native run-android</code>.</p>
  </li>
  </ul>
  <p>I keep getting this error below;</p>
  <ul>
  <li>Get more help at <em><a href="https://help.gradle.org" rel="nofollow noreferrer">https://help.gradle.org</a></em></li>
  </ul>
  <p>BUILD FAILED in 26s</p>
  <p>error Failed to install the app. Make sure you have the Android development environment set up: <em><a href="https://reactnative.dev/docs/environment-setup" rel="nofollow noreferrer">https://reactnative.dev/docs/environment-setup</a></em>. Run CLI with --verbose flag for more details.
  <strong>Error: Command failed: gradlew.bat app:installDebug -PreactNativeDevServerPort=8081</strong></p>
  <p>error Command failed with exit code 1.
  info Visit <em><a href="https://yarnpkg.com/en/docs/cli/run" rel="nofollow noreferrer">https://yarnpkg.com/en/docs/cli/run</a></em> for documentation about this command.</p>
  <p>After updating my local.properties in the android folder with the <code>sdk.dir = C:\Users\Username\AppData\Local\Android\Sdk</code></p>
  <p>I am still getting the error above? Pls, how can I resolve this.</p>