DeepAR does not supports latest agora sdk 4.1.1 JNI Error

def agora_sdk_version = “4.1.1”
// case 1: full libs
implementation “io.agora.rtc:full-rtc-basic:${agora_sdk_version}”

Error received.

JNI DETECTED ERROR IN APPLICATION: JNI ERROR (app bug): jobject is an invalid global reference: 0x3fca (deleted reference at index 510)] in call to NewGlobalRef] from int io.agora.rtc2.internal.RtcEngineImpl.nativePushExternalAgoraVideoFrame(long, int, byte, int, int, int, int, int, int, int, long, javax.microedition.khronos.egl.EGLContext, android.opengl.EGLContext, long, float, int)
2023-05-11 19:00:59.463 10067-10448/ E/ (line 96): InitializeIfNeeded: resampler is using fixed ratio and src_sample_rate_hz:16000 dst_sample_rate_hz:8000

I have tried with sample project too and after updating the agora library app is crashing. Any solution to fix this as I cannot downgrade agora sdk

We will have a look, thanks for reporting