From 1e0a0f219aad52cd6c125547bc06aeca15445b4d Mon Sep 17 00:00:00 2001 From: yangchao <1162485779@qq.com> Date: Tue, 8 Nov 2022 16:23:29 +0800 Subject: [PATCH] fix : jni api hidden on android release version (#13267) --- native/cocos/ui/videoplayer/VideoPlayer-java.cpp | 1 + 1 file changed, 1 insertion(+) 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); }