Skip to content

502 error during the build for android #463

Closed

Description

@yavorsky

Recently, I can't build my project. The error is appearing referring to the repo is not available.

https://dl.bintray.com/intercom/intercom-maven/com/facebook/react/react-native/maven-metadata.xml is returning 504 status code.

Error:

FAILURE: Build failed with an exception.

* What went wrong:
Could not determine the dependencies of task ':react-native-intercom:generateReleaseRFile'.
> Could not resolve all task dependencies for configuration ':react-native-intercom:releaseRuntimeClasspath'.
   > Could not resolve com.facebook.react:react-native:+.
     Required by:
         project :react-native-intercom
      > Failed to list versions for com.facebook.react:react-native.
         > Unable to load Maven meta-data from https://dl.bintray.com/intercom/intercom-maven/com/facebook/react/react-native/maven-metadata.xml.
            > Could not get resource 'https://dl.bintray.com/intercom/intercom-maven/com/facebook/react/react-native/maven-metadata.xml'.
               > Could not GET 'https://dl.bintray.com/intercom/intercom-maven/com/facebook/react/react-native/maven-metadata.xml'. Received status code 502 from server: Bad Gateway

Environment

npm version: 18
io.intercom.android:intercom-sdk-base:7.+

Tried different versions and the result is the same

Activity

  1. changed the title [-]504 error during the build for android[/-] [+]502 error during the build for android[/+] on Nov 30, 2021
  2. qburst-subins commented on Dec 1, 2021

    @qburst-subins

    @yavorsky Facing the same issue since yesterday. Any updates on this? I am using v20.1.0
    I think https://github.com/tinycreative/react-native-intercom/blob/master/android/build.gradle this file causes the issue.

  3. rickyalmeidadev commented on Dec 8, 2021

    @rickyalmeidadev

    Same issue here. It has stopped working suddenly.

  4. dmackinn commented on Dec 8, 2021

    @dmackinn
    Contributor

    My team is also unable to generate android builds because of this

  5. lzakrzewski commented on Dec 8, 2021

    @lzakrzewski

    hello @dmackinn, your PR seems to be fixing the issue 🙏

  6. dmackinn commented on Dec 8, 2021

    @dmackinn
    Contributor

    @browniefed would you be open to merging this in? I know there is an official Intercom package now but not everyone has migrated to it yet.

  7. browniefed commented on Dec 9, 2021

    @browniefed
    Contributor

    This will be the last PR that I merge for this project.

    Please migrate to https://github.com/intercom/intercom-react-native as soon as you can

  8. browniefed commented on Dec 9, 2021

    @browniefed
    Contributor

    react-native-intercom@21.1.1

  9. TamaraMalakhova commented on Dec 30, 2021

    @TamaraMalakhova

    react-native-intercom@21.1.1
    I had problem the same as in this issue but after updating I have another problem:

    Execution failed for task ':app:checkDebugDuplicateClasses'.

    A failure occurred while executing com.android.build.gradle.internal.tasks.CheckDuplicatesRunnable
    Duplicate class kotlin.reflect.KClasses found in modules jetified-kotlin-reflect-1.1 (org.jetbrains.kotlin:kotlin-reflect:1.1.1) and jetified-kotlin-stdlib-1.4.32 (org.jetbrains.kotlin:kotlin-stdlib:1.4.32)

  10. qburst-subins commented on Dec 30, 2021

    @qburst-subins

    Issue resolved when I use "https://github.com/intercom/intercom-react-native". Please try this

  11. TamaraMalakhova commented on Dec 30, 2021

    @TamaraMalakhova
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions