chanon / icu4unity

icu4c library wrapper for Unity game engine, focused on line breaking or word wrapping for Asian languages

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Support ARM 64-bit Android devices

Onchulee opened this issue · comments

First of all, thanks for your library, it helps my project to display Thai dialogue to be easily readable with beautifully wrapping the text.

Due to Google developer guide:
https://developer.android.com/distribute/best-practices/develop/64-bit

I need to build Android which support ARM64 (arm64-v8a), but the library doesn't support it.
Therefore, can you create 'libicu4unity.so' that support ARM64 build, or instruct me how to create one.

Thanks and Best regards

Oh.. I somehow missed this issue. Glad to see you were able to use it!

Regarding ARM64 in build_android.bat change

md build_android\x86
pushd build_android\x86
cmake -DTARGET_PLATFORM=Android  -G "Unix Makefiles" -DCMAKE_MAKE_PROGRAM="%ANDROID_NDK_ROOT%/prebuilt/windows-x86_64/bin/make.exe" -DCMAKE_BUILD_TYPE=Release -DANDROID_ABI="x86" %proj%
popd

to

md build_android\arm64
pushd build_android\arm64
cmake -DTARGET_PLATFORM=Android  -G "Unix Makefiles" -DCMAKE_MAKE_PROGRAM="%ANDROID_NDK_ROOT%/prebuilt/windows-x86_64/bin/make.exe" -DCMAKE_BUILD_TYPE=Release -DANDROID_ABI="arm64-v8a" %proj%
popd