Expo build failed.

Hello, I am running into this error when I build for android, and I don’t know how what is causing it.

 [stderr] FAILURE: Build failed with an exception.
 [stderr] * What went wrong:
  [stderr] Execution failed for task ':app:checkReleaseDuplicateClasses'.
[stderr] > Could not resolve all files for configuration ':app:releaseRuntimeClasspath'.
 [stderr]    > Could not resolve com.facebook.react:react-native:+.
[stderr]      Required by:
[stderr]          project :app
  [stderr]          project :app > project :expo
  [stderr]          project :app > host.exp.exponent:expo-random:12.0.1
 [stderr]          project :app > project :expo > host.exp.exponent:expo-modules-core:0.4.7
  [stderr]          project :app > project :expo > host.exp.exponent:expo-splash-screen:0.13.5
 [stderr]          project :app > project :expo > host.exp.exponent:expo-updates:0.10.14
 [stderr]       > Failed to list versions for com.facebook.react:react-native.
   [stderr] Unable to load Maven meta-data from 
   https://google.bintray.com/exoplayer/com/facebook/react/react-native/maven-metadata.xml.
  [stderr]             > Could not get resource 'https://google.bintray.com/exoplayer/com/facebook/react/react- 
  native/maven-metadata.xml'.
    [stderr]                > Could not GET 'https://google.bintray.com/exoplayer/com/facebook/react/react- 
    native/maven-metadata.xml'. Received status code 502 from server: Bad Gateway
    [stderr]          >

We are waiting on https://google.bintray.com/ to respond :slight_smile:

Same problems here. Last build 5 days ago was fine. Changed Google Maps Key in app.json and constantly failing now. based on sdk 43:

> Task :app:checkReleaseDuplicateClasses FAILED
> Task :expo:generateReleaseRFile
[stderr] FAILURE: Build failed with an exception.
[stderr] * What went wrong:
[stderr] Execution failed for task ':app:checkReleaseDuplicateClasses'.
[stderr] > Could not resolve all files for configuration ':app:releaseRuntimeClasspath'.
[stderr]   > Could not resolve com.facebook.react:react-native:+.


this is my problem as well … and I need the app to be build by now

I’m having the problem as well with Android builds, with bad gateway errors from bintray

Building with expo-cli failes every time now.

expo build:android -t apk

Building with eas-cli still seems to works though… (building now, will post an edit if it also fails)

eas build --platform android

EDIT: Yes, eas build works for both android and ios.(For us at least)

1 Like

Build is running successfully again. Looks like the issue is fixed

1 Like

Here’s a message about this on another thread from one of the Expo team members:

Thank you !

This topic was automatically closed 20 days after the last reply. New replies are no longer allowed.