Description: Encountering build failures due to the inability to resolve the dependency for the Flexbox library (com.google.android:flexbox:2.0.1). The build process fails with multiple errors related to the missing dependency, resulting in the inability to complete the build successfully.
Steps to Reproduce:
- Clone the project repository.
- Attempt to build the project using the provided Gradle configuration.
- Observe the build failures reported due to the unresolved dependency for com.google.android:flexbox:2.0.1.
Expected Behavior: The build process should successfully resolve all dependencies, including the Flexbox library (com.google.android:flexbox:2.0.1), and complete the build without errors.
Actual Behavior: The build fails with multiple errors indicating the inability to resolve the dependency for com.google.android:flexbox:2.0.1. This results in the build process being unable to complete successfully.
Error Messages and logs:
- Required by:
project :app > project :mobilertc
2: Task failed with an exception.
- What went wrong:
Execution failed for task ‘:app:mergeDebugNativeLibs’.
Could not resolve all files for configuration ‘:app:debugRuntimeClasspath’.
Could not find com.google.android:flexbox:2.0.1.
Searched in the following locations:
- https://dl.google.com/dl/android/maven2/com/google/android/flexbox/2.0.1/flexbox-2.0.1.pom
- https://repo.maven.apache.org/maven2/com/google/android/flexbox/2.0.1/flexbox-2.0.1.pom
Required by:
project :app > project :mobilertc
- Try:
Run with --info or --debug option to get more log output.
Run with --scan to get full insights.
Screenshots/Logs:
Priority: High Labels: Dependency Resolution, Build Failure, Flexbox Library