x

Search in
Sort by:

Question Status:

Search help

  • Simple searches use one or more words. Separate the words with spaces (cat dog) to search cat,dog or both. Separate the words with plus signs (cat +dog) to search for items that may contain cat but must contain dog.
  • You can further refine your search on the search results page, where you can search by keywords, author, topic. These can be combined with each other. Examples
    • cat dog --matches anything with cat,dog or both
    • cat +dog --searches for cat +dog where dog is a mandatory term
    • cat -dog -- searches for cat excluding any result containing dog
    • [cats] —will restrict your search to results with topic named "cats"
    • [cats] [dogs] —will restrict your search to results with both topics, "cats", and "dogs"

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:

alt text

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.

Product Version: UE 4.10
Tags:
errorbuild.png (182.3 kB)
more ▼

asked Apr 02 '16 at 06:19 PM in Packaging & Deployment

avatar image

UsefulEndymion
36 3 6 9

avatar image Fleet3123 Apr 18 '16 at 10:17 AM

Same here! (Bump)

(comments are locked)
10|2000 characters needed characters left
Viewable by all users

1 answer: sort voted first

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.

Cheers!

more ▼

answered Apr 18 '16 at 12:06 PM

avatar image

Fleet3123
21 1 1

avatar image UsefulEndymion Apr 18 '16 at 02:22 PM

After copying the VictoryPlugin folder to my project I have gotten some different errors.

UnrealBuildTool: Errors detected while compiling C:\Users\Seth\Desktop\Projects\z-escape.git.0\Intermediate\Build\BuildRules\zescapeModuleRules.dll:

MainFrameActions: Packaging (Android (ATC)): UnrealBuildTool: c:\Users\Seth\Desktop\Projects\z-escape.git.0\Plugins\VictoryPlugin\Source\VictoryBPLibrary\VictoryBPLibrary.Build.cs(5,14) : error CS0101: The namespace '' already contains a definition for 'VictoryBPLibrary'

MainFrameActions: Packaging (Android (ATC)): UnrealBuildTool: ERROR: UnrealBuildTool encountered an error while compiling source files

MainFrameActions: Packaging (Android (ATC)): CommandUtils.Run: Run: Took 1.0197299s to run UnrealBuildTool.exe, ExitCode=5

MainFrameActions: Packaging (Android (ATC)): BuildCommand.Execute: ERROR: BUILD FAILED

avatar image Fleet3123 Apr 18 '16 at 06:14 PM

Oh, I forgot, I deleted the VictoryBP Folder from the Engine/Plugins.

The error sounds like that would happen if the Plugin is found at two places at once.

(comments are locked)
10|2000 characters needed characters left
Viewable by all users
Your answer
toggle preview:

Up to 5 attachments (including images) can be used with a maximum of 5.2 MB each and 5.2 MB total.

Follow this question

Once you sign in you will be able to subscribe for any updates here

Answers to this question