blackuy / react-native-twilio-video-webrtc

Twilio Video (WebRTC) for React Native
https://www.twilio.com/docs/video
MIT License
608 stars 403 forks source link

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

Open antunesgabriel opened 1 year ago

antunesgabriel commented 1 year ago

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

react-native-twilio-video-webrtc

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