Victory Plugin on Android Devices
Have been working on a game for a while with PC builds and testing. I am using Rama's Victory Plugin. When I first started using it, I had to download the binaries for windows and put them into the correct folder. Now, I am trying to package my game for android and am running into some issues with Victory Plugin. I have tried to find solutions to this issue but most of them say wait for V4.8 (I'm on 4.10 ...) or they have slightly different issues which either don't apply, or I can't figure out how to apply them to my situation.
Anyways, here is the error I am getting when trying to package my game or launch it via USB on my android device:
The lines where it fails:
LogPlayLevel: UnrealBuildTool: NDK version: 19, GccVersion: 4.8
LogPlayLevel: UnrealBuildTool: Compiling Native code with NDK API 'android-19'
LogPlayLevel: UnrealBuildTool: Performing 1 actions (4 in parallel)
LogPlayLevel: UnrealBuildTool: [1/1] clang++.exe zescape-armv7-es2.so
LogPlayLevel: UnrealBuildTool: clang++.exe: error: no such file or directory: 'C:/Program Files (x86)/Epic Games/4.10/Engine/Plugins/VictoryPlugin/Binaries/Android/UE4-VictoryBPLibrary-armv7-es2.a'
LogPlayLevel: UnrealBuildTool: -------- End Detailed Actions Stats -----------------------------------------------------------
LogPlayLevel: UnrealBuildTool: ERROR: UBT ERROR: Failed to produce item: D:\Desktop\z-escape.git.0\Binaries\Android\zescape-armv7-es2.so
From what I've read on other posts and seen in their logs, UE4 should use Android NDK to compile the plugin for me, but it appears that isn't happening? Or I could be misinterpreting the log.
EDIT: My project is mostly BP, just added an empty C++ to get the Victory plug in to work as that's what I was directed to do previously. This happens both when I try to package the project for android, or launch it via USB.
Ok, I found a solution.
You have to prebuild the plugin for all your intended destination platforms.
Easiest way I found: Copy the used Plugin with its Source Code to /Your project/Plugins/The Plugin/
Now you should be able to use "Package Project" like you normally would.
answered Apr 18 '16 at 12:06 PM
Follow this question
Once you sign in you will be able to subscribe for any updates here