question

rob-3 avatar image
rob-3 asked

Cant package our android game for the Quest

Hello,

I'm trying to package our game and am immediately hit with these errors from the Playfab code:

UATHelper: Packaging (Android (ASTC)): Building 1 action with 8 processes... UATHelper: Packaging (Android (ASTC)): [1/1] WORLDS-Android-Shipping-armv7-es2.so UATHelper: Packaging (Android (ASTC)): D:/NVPACK2/android-ndk-r14b/toolchains/arm-linux-androideabi-4.9/prebuilt/windows-x86_64/lib/gcc/arm-linux-androideabi/4.9.x/../../../../arm-linux-androideabi/bin\ld: error: C:/Program Files/Epic Games/UE_4.21/Engine/Plugins/Marketplace/PlayFabSDK/Intermediate/Build/Android/UE4/Shipping/PlayFab/Module.PlayFab.2_of_4 .cppa7.o: multiple definition of 'ConstructJsonValue(UObject*, TSharedPtr<FJsonValue, (ESPMode)1> const&)' UATHelper: Packaging (Android (ASTC)): D:/NVPACK2/android-ndk-r14b/toolchains/arm-linux-androideabi-4.9/prebuilt/windows-x86_64/lib/gcc/arm-linux-androideabi/4.9.x/../../../../arm-linux-androideabi/bin\ld: C:/Program Files/Epic Games/UE_4.21/Engine/Plugins/Marketplace/VaRestPlugin/Intermediate/Build/Android/UE4/Shipping/VaRestPlugin/Module.VaRestPlugin.c ppa7.o: previous definition here UATHelper: Packaging (Android (ASTC)): clang++.exe: error: linker command failed with exit code 1 (use -v to see invocation) PackagingResults: Error: C:/Program Files/Epic Games/UE_4.21/Engine/Plugins/Marketplace/PlayFabSDK/Intermediate/Build/Android/UE4/Shipping/PlayFab/Module.PlayFab.2_of_4.cppa7.o: multiple definition of 'ConstructJsonValue(UObject*, TSharedPtr<FJsonValue, (ESPMode)1> const&)' PackagingResults: Error: linker command failed with exit code 1 (use -v to see invocation) UATHelper: Packaging (Android (ASTC)): ERROR: UBT ERROR: Failed to produce item: D:\Unreal Projects\WORLDS_Go\Binaries\Android\WORLDS-Android-Shipping-armv7-es2.so

Please help!

1 comment
10 |1200

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

rob-3 avatar image rob-3 commented ·

This is for UE4 4.21

0 Likes 0 ·

1 Answer

·
Citrus Yan avatar image
Citrus Yan answered

Hi,

According to this error detail (As I see it, other errors might derive from this one):

error:
C:/Program Files/Epic
Games/UE_4.21/Engine/Plugins/Marketplace/PlayFabSDK/Intermediate/Build/Android/UE4/Shipping/PlayFab/Module.PlayFab.2_of_4
.cppa7.o: multiple definition of 'ConstructJsonValue(UObject*, TSharedPtr
const&)'

looks like there are multiple definition of ConstructJsonValue, do you have other plugins/packages that may contain the same definition? What packages/plugins did you use for you project? Can you provide the repro steps for us to investigate?

Not sure whether UE 4.21 fixed the problem or not, it seems that they were some problems with plugin packaging in earlier version of UE, please check this thread: http://idkudk.blogspot.com/2015/02/how-to-get-plugins-to-package-correctly.html

10 |1200

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

Write an Answer

Hint: Notify or tag a user in this post by typing @username.

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.