title: A problem occurred configuring project ':react-native-reanimated'. When generate debug apk file in React native
body: <p>Create android/app/src/main/assets/  this folder</p>
  <p>#react-native bundle --platform android --dev false --entry-file index.js --bundle-output android/app/src/main/assets/index.android.bundle --assets-dest android/app/src/main/res/</p>
  <p>#cd android &amp;&amp; ./gradlew assembleDebug</p>
  <p>run this command but i got the error</p>
  <p>=============================================================================================
  FAILURE: Build failed with an exception.</p>
  <ul>
  <li><p>Where:
  Build file '/var/www/html/reactNative/wurthA/node_modules/react-native-reanimated/android/build.gradle' line: 89</p>
  </li>
  <li><p>What went wrong:
  A problem occurred configuring project ':react-native-reanimated'.</p>
  </li>
  </ul>
  <blockquote>
  <p>SDK location not found. Define location with an ANDROID_SDK_ROOT environment variable or by setting the sdk.dir path in your project's local properties file at '/var/www/html/reactNative/wurthA/android/local.properties'.</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></p>
  </li>
  </ul>
  <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.3/userguide/command_line_interface.html#sec:command_line_warnings" rel="nofollow noreferrer">https://docs.gradle.org/6.3/userguide/command_line_interface.html#sec:command_line_warnings</a>
  =============================================================================================<a href="https://i.stack.imgur.com/suycN.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/suycN.png" alt="enter image description here" /></a></p>