UE4 Android and 64 bit builds


(Patryk Stepniewski) #1

Hi,
I tried to build my game with 64 bit enable and FMOD plugin turned on.

I changed armeabi-v7a folder name to arm64-v8a and start packaging.

I received following error:

MainFrameActions: Packaging (Android (ASTC)): UnrealBuildTool: Compiling Native code with NDK API 'android-21'
MainFrameActions: Packaging (Android (ASTC)): UnrealBuildTool: Performing 1 actions (4 in parallel)
MainFrameActions: Packaging (Android (ASTC)): UnrealBuildTool: [1/1] clang++.exe CHASERS-arm64-es31.so
MainFrameActions: Packaging (Android (ASTC)): UnrealBuildTool: D:/NVPACK/android-ndk-r11c/toolchains/aarch64-linux-android-4.9/prebuilt/windows-x86_64/lib/gcc/aarch64-linux-android/4.9/../../../../aarch64-linux-android/bin\ld: skipping incompatible F:/gameDNAstudio/HelixCloud/CHASERS/Plugins/FMODStudi
MainFrameActions: Packaging (Android (ASTC)): o/Source/FMODStudio/../../Binaries/Android/arm64-v8a/libfmodL.so when searching for -lfmodL
MainFrameActions: Packaging (Android (ASTC)): UnrealBuildTool: D:/NVPACK/android-ndk-r11c/toolchains/aarch64-linux-android-4.9/prebuilt/windows-x86_64/lib/gcc/aarch64-linux-android/4.9/../../../../aarch64-linux-android/bin\ld: cannot find -lfmodL
MainFrameActions: Packaging (Android (ASTC)): UnrealBuildTool: D:/NVPACK/android-ndk-r11c/toolchains/aarch64-linux-android-4.9/prebuilt/windows-x86_64/lib/gcc/aarch64-linux-android/4.9/../../../../aarch64-linux-android/bin\ld: skipping incompatible F:/gameDNAstudio/HelixCloud/CHASERS/Plugins/FMODStudi
MainFrameActions: Packaging (Android (ASTC)): o/Source/FMODStudio/../../Binaries/Android/arm64-v8a/libfmodstudioL.so when searching for -lfmodstudioL
MainFrameActions: Packaging (Android (ASTC)): UnrealBuildTool: D:/NVPACK/android-ndk-r11c/toolchains/aarch64-linux-android-4.9/prebuilt/windows-x86_64/lib/gcc/aarch64-linux-android/4.9/../../../../aarch64-linux-android/bin\ld: cannot find -lfmodstudioL
MainFrameActions: Packaging (Android (ASTC)): UnrealBuildTool: clang++.exe: error: linker command failed with exit code 1 (use -v to see invocation)

(Geoff Carlton) #2

You can’t just copy the libraries for a different platform. Check out this page:

http://www.fmod.org/documentation/#content/generated/engine_ue4/deployment.html

And look for the “Deployment on other Android architectures”. You can download the “Programmers API for Android” from FMOD and copy the libraries over for the extra platforms you want to use.


(Patryk Stepniewski) #3

OK, it works now. Thank you! :slight_smile: