title: react native compiling an app from github
body: <p>Helo everyone, i'm new at react native and react. I'm trying to run a project from github, I keep getting this error. I tried many solutions but still getting it.</p>
  <pre><code>    FAILURE: Build failed with an exception.
  
  * What went wrong:
  Execution failed for task ':react-native-push-notification:compileDebugJavaWithJavac'.
  &gt; Compilation failed; see the compiler error output for details.
  
  * 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.
  
  * Get more help at https://help.gradle.org
  
  BUILD FAILED in 1m 11s
  
  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
  Note: Some input files use or override a deprecated API.
  error Command failed with exit code 1.
  </code></pre>
  <p>Taking in consediration that when I start a new project, I can run it without any problem.
  Thank you</p>