blackuy / react-native-twilio-video-webrtc

Twilio Video (WebRTC) for React Native
MIT License
606 stars 403 forks source link

show error Task :react-native-twilio-video-webrtc:extractDebugAnnotations FAILED when make debug apk #733

Closed kishanpatelstrauss closed 7 months ago

kishanpatelstrauss commented 7 months ago

Steps to reproduce

  1. ./gradlew clean
  2. npx react-native bundle --platform android --dev false --entry-file index.js --bundle-output android/app/src/main/assets/index.android.bundle --assets-dest android/app/src/main/res
  3. ./gradlew assembleDebug

Actual behaviour

react-native-twilio-video-webrtc:extractDebugAnnotations FAILED Detected multiple Kotlin daemon sessions at build\kotlin\sessions

FAILURE: Build completed with 2 failures.

1: Task failed with an exception.

Environment

react-native-twilio-video-webrtc

"react-native-twilio-video-webrtc": "github:blackuy/react-native-twilio-video-webrtc",

kishanpatelstrauss commented 7 months ago

Solved my issue android/build.gradle buildscript { ext { ...... kotlinVersion = '1.7.10' } dependencies { classpath("com.android.tools.build:gradle:7.3.1") ........ } }

android/gradle/wrapper/gradle-wrapper.properties distributionUrl=https\://services.gradle.org/distributions/gradle-7.5.1-all.zip