Include the godot_plugin_jni.cpp
file into the platform/android/SCsub
file
This should resolve https://github.com/godotengine/godot/issues/57209
This commit is contained in:
parent
9f5c18cb12
commit
6a4614ef48
@ -18,6 +18,7 @@ android_files = [
|
|||||||
"jni_utils.cpp",
|
"jni_utils.cpp",
|
||||||
"android_keys_utils.cpp",
|
"android_keys_utils.cpp",
|
||||||
"display_server_android.cpp",
|
"display_server_android.cpp",
|
||||||
|
"plugin/godot_plugin_jni.cpp",
|
||||||
"vulkan/vulkan_context_android.cpp",
|
"vulkan/vulkan_context_android.cpp",
|
||||||
]
|
]
|
||||||
|
|
||||||
|
@ -126,7 +126,7 @@ JNIEXPORT void JNICALL Java_org_godotengine_godot_plugin_GodotPlugin_nativeEmitS
|
|||||||
env->DeleteLocalRef(j_param);
|
env->DeleteLocalRef(j_param);
|
||||||
};
|
};
|
||||||
|
|
||||||
singleton->emit_signal(SNAME(signal_name), args, count);
|
singleton->emit_signal(StringName(signal_name), args, count);
|
||||||
}
|
}
|
||||||
|
|
||||||
JNIEXPORT void JNICALL Java_org_godotengine_godot_plugin_GodotPlugin_nativeRegisterGDNativeLibraries(JNIEnv *env, jclass clazz, jobjectArray gdnlib_paths) {
|
JNIEXPORT void JNICALL Java_org_godotengine_godot_plugin_GodotPlugin_nativeRegisterGDNativeLibraries(JNIEnv *env, jclass clazz, jobjectArray gdnlib_paths) {
|
||||||
|
Loading…
Reference in New Issue
Block a user