title: eas build -p android fails
body: <p>When I run <code>eas build -p android</code> I get an error <code>Android build failed: Gradle build failed with unknown error. Please see logs for the &quot;Run gradlew&quot; phase.</code></p>
  <p>I couldn't do the regular <code>expo build:android</code> and got some strange error when I tried to name my Android package. So instead I followed this that came up after I tried the expo build.</p>
  <pre><code>expo build:android has been superseded by eas build. Learn more: https://blog.expo.dev/turtle-goes-out-to-sea-d334db2a6b60
  
  Run the following:
  
  › npm install -g eas-cli
  › eas build -p android https://docs.expo.dev/build/setup/
  
  expo build:android will be discontinued on January 4, 2023 (357 days left). 
  </code></pre>
  <p>So if I go into the logs on expo.dev I see this:</p>
  <pre><code>&gt; Task :react-native-svg:packageReleaseAssets
  &gt; Task :app:mergeReleaseAssets FAILED
  [stderr] FAILURE: Build failed with an exception.
  [stderr] * What went wrong:
  [stderr] Execution failed for task ':app:mergeReleaseAssets'.
  [stderr] &gt; Could not resolve all files for configuration ':app:releaseRuntimeClasspath'.
  [stderr]    &gt; Could not resolve com.facebook.react:react-native:+.
  [stderr]      Required by:
  [stderr]          project :app
  [stderr]          project :app &gt; project :expo
  [stderr]          project :app &gt; project :react-native-gesture-handler
  [stderr]          project :app &gt; project :react-native-safe-area-context
  [stderr]          project :app &gt; project :react-native-screens
  [stderr]          project :app &gt; project :react-native-svg
  [stderr]          project :app &gt; project :expo &gt; project :expo-modules-core
  [stderr]          project :app &gt; project :expo &gt; project :expo-splash-screen
  [stderr]          project :app &gt; project :expo &gt; project :expo-updates
  [stderr]       &gt; Failed to list versions for com.facebook.react:react-native.
  [stderr]          &gt; Unable to load Maven meta-data from https://jcenter.bintray.com/com/facebook/react/react-native/maven-metadata.xml.
  [stderr]             &gt; Could not get resource 'https://jcenter.bintray.com/com/facebook/react/react-native/maven-metadata.xml'.
  [stderr]                &gt; Could not GET 'https://jcenter.bintray.com/com/facebook/react/react-native/maven-metadata.xml'. Received status code 502 from server: Bad Gateway
  [stderr] * Try:
  [stderr] 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.
  [stderr] * Get more help at https://help.gradle.org
  [stderr] BUILD FAILED in 3m 21s
  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 https://docs.gradle.org/6.9/userguide/command_line_interface.html#sec:command_line_warnings
  45 actionable tasks: 45 executed
  Error: Gradle build failed with unknown error. Please see logs for the &quot;Run gradlew&quot; phase.
  </code></pre>
  <p>I cant post the whole log because stackoverflow won't let me publish my question because it &quot;looks like spam&quot; so I just copied the error part of the log.</p>
  <p>Any help would be appreciated.</p>