jitsi / jitsi-meet

Jitsi Meet - Secure, Simple and Scalable Video Conferences that you use as a standalone app or embed in your web application.
https://jitsi.org/meet
Apache License 2.0
22.84k stars 6.68k forks source link

After modifying WebRTC, rebuild,tips:Direct local .aar file dependencies are not supported when building an AAR #14951

Open Tunshutegong opened 1 month ago

Tunshutegong commented 1 month ago

What happened?

Excuse me I modified the webrtc code, packaged it as libwebrtc.aar, and then modified jiesi-meet

dependencies { implementation 'com.facebook.react:react-native:+' //api 'org.jitsi:webrtc:118.+' implementation(files("src/main/aar/libwebrtc.aar"))

} Then execute ./android/scripts/release-sdk.sh /tmp/repo

Final error message:

Direct local .aar file dependencies are not supported when building an AAR. The resulting AAR would be broken because the classes and Android resources from any local .aar file dependencies would not be packaged in the resulting AAR. Previous versions of the Android Gradle Plugin produce broken AARs in this case too (despite not throwing this error). The following direct local .aar file dependencies of the :react-native-webrtc project caused this error: /home/jitsi-meet/node_modules/react-native-webrtc/android/src/main/aar/libwebrtc.aar

Platform

Browser / app / sdk version

android 13

Relevant log output

No response

Reproducibility

More details?

No response

Tunshutegong commented 1 month ago

Can run successfully directly,But execution ./android/scripts/release-sdk.sh /tmp/repo error