mirror of
https://github.com/OpenRCT2/OpenRCT2
synced 2026-01-15 11:03:00 +01:00
Fix #7246: Android build fails with java.lang.UnsatisfiedLinkError
JNI DETECTED ERROR IN APPLICATION: JNI GetObjectClass called with pending exception java.lang.UnsatisfiedLinkError: No implementation found for long website.openrct2.ZipArchive.allocBytes(byte[], int) (tried Java_website_openrct2_ZipArchive_allocBytes and Java_website_openrct2_ZipArchive_allocBytes___3BI)
This commit is contained in:
@@ -154,9 +154,11 @@ namespace Zip {
|
||||
}
|
||||
}
|
||||
|
||||
extern "C" {
|
||||
JNIEXPORT jlong JNICALL
|
||||
Java_website_openrct2_ZipArchive_allocBytes(JNIEnv *env, jclass, jbyteArray input,
|
||||
jint numBytes);
|
||||
}
|
||||
|
||||
JNIEXPORT jlong JNICALL
|
||||
Java_website_openrct2_ZipArchive_allocBytes(JNIEnv *env, jclass, jbyteArray input,
|
||||
|
||||
Reference in New Issue
Block a user