Native Builder - Build failed

3
Hi, When I try building the app with Native Builder 2.0.0 (Studio Pro 8.2.2), I receive the folowing error: “FAILURE: Build failed with an exception.   * What went wrong: Could not determine the dependencies of task ':app:preDebugBuild'.  > Could not resolve all task dependencies for configuration ':app:debugRuntimeClasspath'.     > Could not resolve org.greenrobot:eventbus:3.+.       Required by:           project :app > project :react-native-inappbrowser-reborn        > Failed to list versions for org.greenrobot:eventbus.           > Could not list versions using M2 pattern 'https://jitpack.io/[organisation]/[module]/[revision]/[artifact]-[revision](-[classifier])(.[ext])'.              > Could not get resource 'https://jitpack.io/org/greenrobot/eventbus/'.                 > Could not GET 'https://jitpack.io/org/greenrobot/eventbus/'. Received status code 522 from server: Origin Connection Time-out” Can someone help me? Regards, Vinícius Alves – Siemens
asked
1 answers
3

Just a heads up on that issue.

It seems that App Center had trouble to access the jitpack.io CDN for that particular dependency.
There’re various posts regarding this CDN acting up with 404 or 522 since September after they re-architected their infra.
As this is a peer dependency we have no control over, the only solution is to try again later.

You can re-run the build for that particular branch directly from App Center to avoid the overhead of doing a full project deployment with the Native Builder.

I was able to have a test build working after retrying a couple of times late yesterday.

Regards,
Stefanos – Mendix

answered