When trying to build my native app in Mx 8.18.15 (& native template 5.2.13) I get the following exception

Hi All. When trying to build my native app in Mx 8.18.15 (& native template 5.2.13) I get the following exception as seen in android.log. Any tips are welcome.  FAILURE: Build failed with an exception.  * What went wrong:  Could not determine the dependencies of task ':app:preAppstoreReleaseBuild'.  > Could not resolve all task dependencies for configuration ':app:appstoreReleaseRuntimeClasspath'.     > Could not resolve org.greenrobot:eventbus:3.+.       Required by:           project :app > project :react-native-inappbrowser-reborn        > Failed to list versions for org.greenrobot:eventbus.           > Unable to load Maven meta-data from https://www.jitpack.io/org/greenrobot/eventbus/maven-metadata.xml.              > Could not get resource 'https://www.jitpack.io/org/greenrobot/eventbus/maven-metadata.xml'.                 > Could not GET 'https://www.jitpack.io/org/greenrobot/eventbus/maven-metadata.xml'. Received status code 521 from server:  * 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 3m 27s  Deprecated Gradle features were used in this build, making it incompatible with Gradle 6.0.  Use '--warning-mode all' to show the individual deprecation warnings.  See https://docs.gradle.org/5.5/***guide/command_line_interface.html#sec:command_line_warnings  Error: /Users/runner/work/1/s/android/gradlew failed with return code: 1      at ChildProcess.<anonymous> (/Users/runner/work/_tasks/Gradle_8d8eebd8-2b94-4c97-85af-839254cc6da4/1.128.0/node_modules/vsts-task-lib/toolrunner.js:569:30)      at emitTwo (events.js:106:13)      at ChildProcess.emit (events.js:191:7)      at maybeClose (internal/child_process.js:920:16)      at Socket.<anonymous> (internal/child_process.js:351:11)      at emitOne (events.js:96:13)      at Socket.emit (events.js:188:7)      at Pipe._handle.close [as _onclose] (net.js:509:12)  ##[error]Error: /Users/runner/work/1/s/android/gradlew failed with return code: 1  ##[section]Finishing: Gradle Task  ##[section]Starting: Sign APK  ==============================================================================  Task         : Android signing  Description  : Sign and align Android APK files  Version      : 3.201.0  Author       : Microsoft Corporation  Help         : https://docs.microsoft.com/azure/devops/pipelines/tasks/build/android-signing  ==============================================================================  ##[section]Finishing: Sign APK
1 answers

Hi Abhijit,


It might be related to this:

Issues with building native apps for Android

Although the external repository seems to be online again, not all dependencies can be downloaded. Unfortunately, we can't remove the external repository, as some dependencies are not available anywhere else. We have asked the owners of the external repository to investigate why not all dependencies are available yet.

Dec 22, 11:40 CET





Go Make It