70
Views
1
Comments
[OneSignal Plugin] Android Build Error jcenter resource
onesignal-plugin
Mobile icon
Forge asset by OutSystems

Hello everyone!  

I'm currently trying to build mobile apps with the new MABS 8.0 version but I'm getting an error for OneSignal Plugin:

"Could not GET 'https://jcenter.bintray.com/com/github/Outsystems/OneSignal-Android-SDK/f705aeed5c/OneSignal-Android-SDK-f705aeed5c.pom'. Received status code 502 from server: Bad Gateway"


Using OneSignal Plugin Version 3.5.6  directly from forge.


[ERROR] [Build] FAILURE: Build failed with an exception.

[ERROR] [Build] * What went wrong:

[ERROR] [Build] Execution failed for task ':app:checkDebugDuplicateClasses'.

[ERROR] [Build] > Could not resolve all files for configuration ':app:debugRuntimeClasspath'.

[ERROR] [Build]    > Could not resolve com.github.Outsystems:OneSignal-Android-SDK:f705aeed5c.

[ERROR] [Build]      Required by:

[ERROR] [Build]          project :app

[ERROR] [Build]       > Could not resolve com.github.Outsystems:OneSignal-Android-SDK:f705aeed5c.

[ERROR] [Build]          > Could not get resource 'https://jcenter.bintray.com/com/github/Outsystems/OneSignal-Android-SDK/f705aeed5c/OneSignal-Android-SDK-f705aeed5c.pom'.

[ERROR] [Build]             > Could not GET 'https://jcenter.bintray.com/com/github/Outsystems/OneSignal-Android-SDK/f705aeed5c/OneSignal-Android-SDK-f705aeed5c.pom'. Received status code 502 from server: Bad Gateway

[ERROR] [Build] * Try:

[ERROR] [Build] 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.

[ERROR] [Build] * Get more help at https://help.gradle.org

[ERROR] [Build] BUILD FAILED in 1m 11s

[ERROR] [Build] Command failed with exit code 1: source/platforms/android/gradlew cdvBuildDebug -b source/platforms/android/build.gradle --parallel

[ERROR] [Build] Build failed with the following error: Your app wasn't generated because we couldn't fetch its dependencies from the repository server jcenter.bintray.com due to a server error. Please try again.

 [INFO] [Build] Remove debug/release signing properties

[INFO] [Build] Zipping application source...

[INFO] [Build] Application was not successfully generated!

[INFO] [Build] Execution time: 359874ms


UserImage.jpg
Chockalingam S

Hi @Luis Miguel Chagas Flores,

       When trying to generate build with MABS 8.0, there are still issues been arising. Hope soon OS will release a stable version. 

Please check the below link could be helpful a bit,

 https://github.com/OneSignal/OneSignal-Flutter-SDK/issues/432

or else try generating a new build with MABS 7.2, that should fix the issue.

Community GuidelinesBe kind and respectful, give credit to the original source of content, and search for duplicates before posting.