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"

Can't make an APK without the compiled .so [UE4Game-armv7-es2.so]

I'm building an running the UE4 editor from source (4.5).

And I need to run from source since I've modified the Android library for some OUYA-SDK.jar hooks and native hooks.

I'm just wondering if there's a standard process for generating 'UE4Game-armv7-es2.so' to work with Blueprint projects?

I can generate this file with my C++ projects. And I can extract this file from the APK and put the library in the expected location. This doesn't seem to be the right thing, because the APK native library is stamped with the package name used by that build.

I can also copy the release build files 'C:\Program Files\Unreal\Epic Games\4.5\Engine\Binaries\Android' to the source build 'C:\unreal\UnrealEngine\Engine\Binaries\Android', but I'd loose my native customizations.

Here's the error that I get from building the Tappy Chicken project from my source build of the Unreal editor.

 Program.Main: ERROR: AutomationTool terminated with exception:
 MainFrameActions: Packaging (Android (DXT)): Program.Main: ERROR: Exception in UnrealBuildTool: ERROR: Can't make an APK without the compiled .so [C:\unreal\UnrealEngine\Engine\Binaries\Android\UE4Game-armv7-es2.so]
 

I'm just wondering if there's a script that the normal process uses?

I'm thinking UE4 needs to be compiled with the 'Android' build target?

I get an error building UE4 from source using "Development Editor" and "Android".

 18>EXEC : error : UE4Editor does not support the Android platform.
 18>C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\V120\Microsoft.MakeFile.targets(38,5): error MSB3073: The command "..\..\Build\BatchFiles\Build.bat UE4Editor Android Development" exited with code -1.

Okay that makes sense because the UE4 editor doesn't actually run on Android.

I'll try building "Development Client" and "Android".

Product Version: Not Selected
Tags:
more ▼

asked Nov 26 '14 at 04:20 PM in C++ Programming

avatar image

tgraupmann
110 16 21 81

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

1 answer: sort voted first

I just needed to compile the "Development Client" and "Android" build target.

For whatever reason I had to copy after building:

C:\unreal\UnrealEngine\Engine\Binaries\Android\UE4Client-armv7-es2.so

as

C:\unreal\UnrealEngine\Engine\Binaries\Android\UE4Game-armv7-es2.so

And then it worked like a charm!

more ▼

answered Nov 26 '14 at 05:12 PM

avatar image

tgraupmann
110 16 21 81

avatar image jetty2192 Dec 18 '14 at 11:02 AM

can you pls share the .so file im unable to build it. returns with error.

avatar image tgraupmann Dec 18 '14 at 05:59 PM

I have the build steps documented here: https://github.com/ouya/docs/blob/master/unreal.md#build-ue4

Are you saying you don't have Visual Studio to build the UE4 editor? Since you will need to build the fork for Windows-64 and Android so that the OUYA Actors are available in the editor.

I'll look into adding a compiled version of the editor to the fork. But just that native library so file is 500MB.

(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