Hello, I have followed the guide to add the android meeting SDK into my native Android app.
I have confirmed that I added both the aar.file into my build.gradle.
implementation project(path: ‘:mobilertc’)
implementation project(path: ‘:commonlib’)
Below is the error I got when I try to build my app.
1: Task failed with an exception.
- What went wrong:
Execution failed for task ‘:app:checkDebugDuplicateClasses’.
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 --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.
==============================================================================
2: Task failed with an exception.
- What went wrong:
Execution failed for task ‘:app:desugarDebugFileDependencies’.
Could not resolve all files for configuration ‘:app:debugRuntimeClasspath’.
Could not find com.google.android:flexbox:2.0.1.
Required by:
project :app > project :mobilertc
- Try:
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.
==============================================================================
3: Task failed with an exception.
- What went wrong:
Execution failed for task ‘:app:checkDebugAarMetadata’.
Could not resolve all files for configuration ‘:app:debugRuntimeClasspath’.
Could not find com.google.android:flexbox:2.0.1.
Required by:
project :app > project :mobilertc
- Try:
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.
==============================================================================
4: Task failed with an exception.
- What went wrong:
Execution failed for task ‘:app:mergeDebugResources’.
Could not resolve all files for configuration ‘:app:debugRuntimeClasspath’.
Could not find com.google.android:flexbox:2.0.1.
Required by:
project :app > project :mobilertc
- Try:
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.
==============================================================================
5: Task failed with an exception.
- What went wrong:
Execution failed for task ‘:app:processDebugMainManifest’.
Could not resolve all files for configuration ‘:app:debugRuntimeClasspath’.
Could not find com.google.android:flexbox:2.0.1.
Required by:
project :app > project :mobilertc
- Try:
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.
==============================================================================
6: Task failed with an exception.
- What went wrong:
Execution failed for task ‘:app:mergeDebugAssets’.
Could not resolve all files for configuration ‘:app:debugRuntimeClasspath’.
Could not find com.google.android:flexbox:2.0.1.
Required by:
project :app > project :mobilertc
- Try:
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.
==============================================================================
7: Task failed with an exception.
- What went wrong:
Execution failed for task ‘:app:mergeDebugJavaResource’.
Could not resolve all files for configuration ‘:app:debugRuntimeClasspath’.
Could not find com.google.android:flexbox:2.0.1.
Required by:
project :app > project :mobilertc
- Try:
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.
==============================================================================
8: 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.
Required by:
project :app > project :mobilertc
Can someone guide me how to solve this problem? Thank you in advance.