Announcement

Collapse
No announcement yet.

cant package my game (linker command failed with exit code 1)

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    cant package my game (linker command failed with exit code 1)

    when i try to package my game i get a error i have support arm64 enabled, when i disable that it works fine but i need to have it enabled for uploading my game to the playstore

    LogTemp: BranchPath = DESKTOP-Q5QG9VG/D/Games/UE_4.21/Engine/Binaries --- GameBranchPath = DESKTOP-Q5QG9VG/D/Games/UE_4.21/Engine/Binaries
    LogTemp: IPP ERROR: Could not find provision directory 'C:\Users\kohjo\AppData\Local/Apple Computer/MobileDevice/Provisioning Profiles/'.
    UATHelper: Packaging (Android (Multi:ASTC,PVRTC,DXT,ATC,ETC2,ETC1)): Reflection code generated for UEFireBase in 8,2832756 seconds
    UATHelper: Packaging (Android (Multi:ASTC,PVRTC,DXT,ATC,ETC2,ETC1)): Compiling Native code with NDK API 'android-24'
    UATHelper: Packaging (Android (Multi:ASTC,PVRTC,DXT,ATC,ETC2,ETC1)): Writing manifest to C:\Users\kohjo\Documents\Unreal Projects\UEFireBase-master 4.21\Intermediate\Build\Manifest.xml
    UATHelper: Packaging (Android (Multi:ASTC,PVRTC,DXT,ATC,ETC2,ETC1)): Building 6 actions with 4 processes...
    UATHelper: Packaging (Android (Multi:ASTC,PVRTC,DXT,ATC,ETC2,ETC1)): [1/6] SharedPCH.Engine.h [arm64-es2]
    UATHelper: Packaging (Android (Multi:ASTC,PVRTC,DXT,ATC,ETC2,ETC1)): [2/6] EmptyCppClass.cpp [arm64-es2]
    UATHelper: Packaging (Android (Multi:ASTC,PVRTC,DXT,ATC,ETC2,ETC1)): [3/6] UEFireBase.cpp [arm64-es2]
    UATHelper: Packaging (Android (Multi:ASTC,PVRTC,DXT,ATC,ETC2,ETC1)): [4/6] Module.FireBase.gen.cpp [arm64-es2]
    UATHelper: Packaging (Android (Multi:ASTC,PVRTC,DXT,ATC,ETC2,ETC1)): [5/6] Module.FireBase.cpp [arm64-es2]
    UATHelper: Packaging (Android (Multi:ASTC,PVRTC,DXT,ATC,ETC2,ETC1)): [6/6] UEFireBase-Android-Shipping-arm64-es2.so
    UATHelper: Packaging (Android (Multi:ASTC,PVRTC,DXT,ATC,ETC2,ETC1)): C:/NVPACK/android-ndk-r14b/toolchains/aarch64-linux-android-4.9/prebuilt/windows-x86_64/lib/gcc/aarch64-linux-android/4.9.x/../../../../aarch64-linux-android/bin\ld: skipping incompatible C:/Users/kohjo/Documents/Unreal Projects/UEFireBase-master 4.21/Plugins/FireBase/Source/FireBase/Th
    irdParty/FireBaseCpp/libs/android/armeabi\libapp.a when searching for -lapp
    UATHelper: Packaging (Android (Multi:ASTC,PVRTC,DXT,ATC,ETC2,ETC1)): C:/NVPACK/android-ndk-r14b/toolchains/aarch64-linux-android-4.9/prebuilt/windows-x86_64/lib/gcc/aarch64-linux-android/4.9.x/../../../../aarch64-linux-android/bin\ld: cannot find -lapp
    UATHelper: Packaging (Android (Multi:ASTC,PVRTC,DXT,ATC,ETC2,ETC1)): C:/NVPACK/android-ndk-r14b/toolchains/aarch64-linux-android-4.9/prebuilt/windows-x86_64/lib/gcc/aarch64-linux-android/4.9.x/../../../../aarch64-linux-android/bin\ld: skipping incompatible C:/Users/kohjo/Documents/Unreal Projects/UEFireBase-master 4.21/Plugins/FireBase/Source/FireBase/Th
    irdParty/FireBaseCpp/libs/android/armeabi\libdatabase.a when searching for -ldatabase
    UATHelper: Packaging (Android (Multi:ASTC,PVRTC,DXT,ATC,ETC2,ETC1)): C:/NVPACK/android-ndk-r14b/toolchains/aarch64-linux-android-4.9/prebuilt/windows-x86_64/lib/gcc/aarch64-linux-android/4.9.x/../../../../aarch64-linux-android/bin\ld: cannot find -ldatabase
    UATHelper: Packaging (Android (Multi:ASTC,PVRTC,DXT,ATC,ETC2,ETC1)): clang++.exe: error: linker command failed with exit code 1 (use -v to see invocation)
    UATHelper: Packaging (Android (Multi:ASTC,PVRTC,DXT,ATC,ETC2,ETC1)): ERROR: UBT ERROR: Failed to produce item: C:\Users\kohjo\Documents\Unreal Projects\UEFireBase-master 4.21\Binaries\Android\UEFireBase-Android-Shipping-arm64-es2.so
    UATHelper: Packaging (Android (Multi:ASTC,PVRTC,DXT,ATC,ETC2,ETC1)): (see C:\Users\kohjo\AppData\Roaming\Unreal Engine\AutomationTool\Logs\D+Games+UE_4.21\UBT-UEFireBase-Android-Shipping_2.txt for full exception trace)
    UATHelper: Packaging (Android (Multi:ASTC,PVRTC,DXT,ATC,ETC2,ETC1)): Total build time: 55,24 seconds (Parallel executor: 0,00 seconds)
    UATHelper: Packaging (Android (Multi:ASTC,PVRTC,DXT,ATC,ETC2,ETC1)): Took 55,5227919s to run UnrealBuildTool.exe, ExitCode=5
    UATHelper: Packaging (Android (Multi:ASTC,PVRTC,DXT,ATC,ETC2,ETC1)): ERROR: UnrealBuildTool failed. See log for more details. (C:\Users\kohjo\AppData\Roaming\Unreal Engine\AutomationTool\Logs\D+Games+UE_4.21\UBT-UEFireBase-Android-Shipping_2.txt)
    UATHelper: Packaging (Android (Multi:ASTC,PVRTC,DXT,ATC,ETC2,ETC1)): (see C:\Users\kohjo\AppData\Roaming\Unreal Engine\AutomationTool\Logs\D+Games+UE_4.21\Log.txt for full exception trace)
    UATHelper: Packaging (Android (Multi:ASTC,PVRTC,DXT,ATC,ETC2,ETC1)): AutomationTool exiting with ExitCode=5 (5)
    UATHelper: Packaging (Android (Multi:ASTC,PVRTC,DXT,ATC,ETC2,ETC1)): BUILD FAILED
    PackagingResults: Error: linker command failed with exit code 1 (use -v to see invocation)
    PackagingResults: Error: UBT ERROR: Failed to produce item: C:\Users\kohjo\Documents\Unreal Projects\UEFireBase-master 4.21\Binaries\Android\UEFireBase-Android-Shipping-arm64-es2.so
    PackagingResults: Error: UnrealBuildTool failed. See log for more details. (C:\Users\kohjo\AppData\Roaming\Unreal Engine\AutomationTool\Logs\D+Games+UE_4.21\UBT-UEFireBase-Android-Shipping_2.txt)
    PackagingResults: Error: Unknown Error
Working...
X