Skip to content

Expo 54 - Android - mulitple build errors #43

@philippelef

Description

@philippelef

Custom HTTP maven repository is causing issues.

* What went wrong:
Could not determine the dependencies of task ':app:processDebugResources'.
> Could not resolve all dependencies for configuration ':app:debugRuntimeClasspath'.
   > Could not find me.bridgefy:android-sdk:1.2.3.
     Searched in the following locations:
       - https://dl.google.com/dl/android/maven2/me/bridgefy/android-sdk/1.2.3/android-sdk-1.2.3.pom
       - https://repo.maven.apache.org/maven2/me/bridgefy/android-sdk/1.2.3/android-sdk-1.2.3.pom
       - https://www.jitpack.io/me/bridgefy/android-sdk/1.2.3/android-sdk-1.2.3.pom
       - https://central.sonatype.com/repository/maven-snapshots/me/bridgefy/android-sdk/1.2.3/android-sdk-1.2.3.pom
     Required by:
         project :app > project :bridgefy-react-native

I tried using expo plugins to allow the insecure custom maven repository without success. It seems you can't override that setting using the more recent versions of Expo/Gradle.

My build settings

[ExpoRootProject] Using the following versions:
  - buildTools:  36.0.0
  - minSdk:      26
  - compileSdk:  36
  - targetSdk:   36
  - ndk:         27.1.12297006
  - kotlin:      2.1.20
  - ksp:         2.1.20-2.0.1

temporary fix was to use a https proxy server but that's really hacky.

@antoinerousseau

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