diff --git a/native/cocos/ui/videoplayer/VideoPlayer-java.cpp b/native/cocos/ui/videoplayer/VideoPlayer-java.cpp index 28457037a2..9df498a1ea 100644 --- a/native/cocos/ui/videoplayer/VideoPlayer-java.cpp +++ b/native/cocos/ui/videoplayer/VideoPlayer-java.cpp @@ -46,6 +46,7 @@ static void executeVideoCallback(int index, int event); extern "C" { //NOLINTNEXTLINE +JNIEXPORT void Java_com_cocos_lib_CocosVideoHelper_nativeExecuteVideoCallback(JNIEnv *env, jobject obj, jint index, jint event) { executeVideoCallback(index, event); }