Error: Failed to transform mobilertc.aar to match attributes {artifactType=android-compiled-dependencies-resources}

> Task :app:processDebug1DebugResources FAILED

FAILURE: Build failed with an exception.

* What went wrong:
Execution failed for task ':app:processDebug1DebugResources'.
> Could not resolve all files for configuration ':app:debug1DebugRuntimeClasspath'.
   > Failed to transform mobilertc.aar to match attributes {artifactType=android-compiled-dependencies-resources}.
      > Execution failed for AarResourcesCompilerTransform: /home/ubuntu/.gradle/caches/transforms-3/5f5578456b4ad2495a716fddce3949d2/transformed/jetified-mobilertc.
         > /home/ubuntu/.gradle/caches/transforms-3/5f5578456b4ad2495a716fddce3949d2/transformed/jetified-mobilertc/AndroidManifest.xml
   > Failed to transform mobilertc.aar to match attributes {artifactType=android-compiled-dependencies-resources}.
      > Execution failed for AarResourcesCompilerTransform: /home/ubuntu/.gradle/caches/transforms-3/5f5578456b4ad2495a716fddce3949d2/transformed/jetified-mobilertc.
         > /home/ubuntu/.gradle/caches/transforms-3/5f5578456b4ad2495a716fddce3949d2/transformed/jetified-mobilertc/AndroidManifest.xml

I am trying to build an Android app in Ubuntu using command-line tools only (commandlinetools-linux-7302050_latest.zip).
Getting the aforementioned error when I try to run gradlew build on ubuntu 22.04 with Java - 11, Gradle - 7.6.2.
Please suggest.

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.