blackuy/react-native-twilio-video-webrtc

Task :app:mergeReleaseResources FAILED when run android build bundle command

Opened this issue · 0 comments

Steps to reproduce

  1. Run build command yarn android-bundle ("npx jetify && cd ./android && ./gradlew bundleRelease && cd ..")

Expected behaviour

Build android bundle to upload in play store

Actual behaviour

> Task :app:mergeReleaseResources FAILED

FAILURE: Build failed with an exception.

* What went wrong:
Execution failed for task ':app:mergeReleaseResources'.
> Could not resolve all files for configuration ':app:releaseRuntimeClasspath'.
   > Failed to transform video-android-7.3.1.aar (com.twilio:video-android:7.3.1) to match attributes {artifactType=android-res, org.gradle.category=library, org.gradle.dependency.bundling=external, org.gradle.libraryelements=aar, org.gradle.status=release, org.gradle.usage=java-runtime}.
      > Execution failed for JetifyTransform: /Users/gabriel.tantunes/.gradle/caches/modules-2/files-2.1/com.twilio/video-android/7.3.1/205bb9102ce484960c8faef69be7e493b38b4358/video-android-7.3.1.aar.
         > Failed to transform '/Users/gabriel.tantunes/.gradle/caches/modules-2/files-2.1/com.twilio/video-android/7.3.1/205bb9102ce484960c8faef69be7e493b38b4358/video-android-7.3.1.aar' using Jetifier. Reason: null. (Run with --stacktrace for more details.)

Environment

  • Node v14.19.3:
  • RN v0.62.2:
  • Android

react-native-twilio-video-webrtc

I use install doc: https://github.com/blackuy/react-native-twilio-video-webrtc