Build android artifact using customized webrtc module

hello, I’m trying to build a jitsi-meet-sdk for use on android using the react-native-webrtc library which I customized independently. I then added both the libwebrtc.jar and libjingle_peerconnection.so.jar files to the android/sdk/libs folder and customize thedependencies in android/sdk/build.gradle.
android/sdk/build.gradle

//  implementation project(':react-native-webrtc')
    implementation files('./libs/libwebrtc.jar')
    implementation files('./libs/libjingle_peerconnection.so.jar')

However, when built using command ./android/scripts/release-sdk.sh, it causes the following error.

Log Error

> Task :sdk:compileReleaseJavaWithJavac FAILED
/home/hilman/Downloads/jitsi-meet-stable-jitsi-meet_6173/android/sdk/src/main/java/org/jitsi/meet/sdk/ReactInstanceManagerHolder.java:34: error: package com.oney.WebRTCModule does not exist
import com.oney.WebRTCModule.RTCVideoViewManager;
                            ^
/home/hilman/Downloads/jitsi-meet-stable-jitsi-meet_6173/android/sdk/src/main/java/org/jitsi/meet/sdk/ReactInstanceManagerHolder.java:35: error: package com.oney.WebRTCModule does not exist
import com.oney.WebRTCModule.WebRTCModule;
                            ^
/home/hilman/Downloads/jitsi-meet-stable-jitsi-meet_6173/android/sdk/src/main/java/org/jitsi/meet/sdk/ReactInstanceManagerHolder.java:83: error: package WebRTCModule does not exist
        WebRTCModule.Options options = new WebRTCModule.Options();
                    ^
/home/hilman/Downloads/jitsi-meet-stable-jitsi-meet_6173/android/sdk/src/main/java/org/jitsi/meet/sdk/ReactInstanceManagerHolder.java:83: error: package WebRTCModule does not exist
        WebRTCModule.Options options = new WebRTCModule.Options();
                                                       ^
/home/hilman/Downloads/jitsi-meet-stable-jitsi-meet_6173/android/sdk/src/main/java/org/jitsi/meet/sdk/ReactInstanceManagerHolder.java:92: error: cannot find symbol
        nativeModules.add(new WebRTCModule(reactContext, options));
                              ^
  symbol:   class WebRTCModule
  location: class ReactInstanceManagerHolder
/home/hilman/Downloads/jitsi-meet-stable-jitsi-meet_6173/android/sdk/src/main/java/org/jitsi/meet/sdk/ReactInstanceManagerHolder.java:100: error: cannot find symbol
            new RTCVideoViewManager()
                ^
  symbol:   class RTCVideoViewManager
  location: class ReactInstanceManagerHolder
Note: Some input files use or override a deprecated API.
Note: Recompile with -Xlint:deprecation for details.
6 errors

FAILURE: Build failed with an exception.

* What went wrong:
Execution failed for task ':sdk:compileReleaseJavaWithJavac'.
> Compilation failed; see the compiler error output for details.


Can anyone tell me how to solve it ?