mirror of
https://github.com/OpenRCT2/OpenRCT2.git
synced 2025-01-22 10:21:57 -05: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:
parent
93041bbce5
commit
c4f3643be1
1 changed files with 2 additions and 0 deletions
|
@ -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,
|
||||
|
|
Loading…
Reference in a new issue