Skip to content

Unable to resolve com.google.android:flexbox:1.0.0 in Gradle buildΒ #375

@faithererer

Description

@faithererer

Describe the bug
I am encountering an issue when trying to build my Android project. The error states that it cannot resolve the dependency com.google.android:flexbox:1.0.0.

Error message:

* What went wrong:
Execution failed for task ':app:processDebugAndroidTestManifest'.
> Could not resolve all files for configuration ':app:debugRuntimeClasspath'.
   > Could not find com.google.android:flexbox:1.0.0.
     Searched in the following locations:
       - https://jitpack.io/com/google/android/flexbox/1.0.0/flexbox-1.0.0.pom
       - https://dl.google.com/dl/android/maven2/com/google/android/flexbox/1.0.0/flexbox-1.0.0.pom
       - https://repo.maven.apache.org/maven2/com/google/android/flexbox/1.0.0/flexbox-1.0.0.pom
     Required by:
         project :app
   > Could not find com.google.android:flexbox:1.0.0.
     Searched in the following locations:
       - https://jitpack.io/com/google/android/flexbox/1.0.0/flexbox-1.0.0.pom
       - https://dl.google.com/dl/android/maven2/com/google/android/flexbox/1.0.0/flexbox-1.0.0.pom
       - https://repo.maven.apache.org/maven2/com/google/android/flexbox/1.0.0/flexbox-1.0.0.pom
     Required by:
         project :app > com.github.stfalcon-studio:Chatkit:0.4.1

To Reproduce
Steps to reproduce the behavior:

Add the dependency implementation 'com.github.stfalcon-studio:Chatkit:0.4.1' to the build.gradle file.
Sync the project with Gradle files.
The build fails with the above error message.
Expected behavior
The build should successfully resolve the dependency for the Flexbox library.

Screenshots
N/A

Smartphone (please complete the following information):

Device: [e.g. Pixel 4]
OS: [e.g. Android 10]
Library Version: [e.g. 3.0.0]

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