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"

Android build fails under arm64 & ES Deferred Shading

I set some of the new build settings to see if they would improve my load times, now I'm getting build errors, and I'm not sure if they're due to something in my code. Attached is the loglink text

Product Version: UE 4.13
Tags:
more ▼

asked Sep 13 '16 at 09:30 PM in Packaging & Deployment

avatar image

paul.jan725
31 2 7 10

avatar image Samantha Sutton ♦♦ STAFF Sep 14 '16 at 09:34 PM

Paul.Jan725,

Can you package your project without ARM64 and ES Deferred Shading selected in Project Settings > Android? If so, could you see if ARM64 packages and if it's only ES Deferred Shading causing the issue?

If you're not able to package at all, could you show me your Android SDK settings for your project? I'm also curious whether or not Android-21 is causing the trouble and whether or not you've tried Android-19 or Android-22.

Thanks!

(comments are locked)
10|2000 characters needed characters left

1 answer: sort voted first

Hey Paul.Jan725,

We have not heard back from you in a few days, so we are marking this post as Resolved for tracking purposes. If you are still experiencing the issue you reported, please respond to this message with additional information and we will offer further assistance.

Thank you!

more ▼

answered Sep 19 '16 at 05:11 PM

avatar image paul.jan725 Sep 19 '16 at 08:29 PM

Getting the error on a arm64-es2 build on NDK version 19, gccVersion 4.9:

UATHelper: Packaging (Android (ETC2)): UnrealBuildTool: [120/226] clang++.exe Module.Sockets.cpp [arm64-es2] UATHelper: Packaging (Android (ETC2)): UnrealBuildTool: In file included from C:/SVN/PROJECTSCopy/unreal_project/NBT2/Intermediate/Build/Android/NBT2/Development/Sockets/Module.Sockets.cpp:3: UATHelper: Packaging (Android (ETC2)): UnrealBuildTool: In file included from C:\UnrealEngine2\Engine\Source\Runtime\Sockets\Private\Android\SocketSubsystemAndroid.cpp:4: UATHelper: Packaging (Android (ETC2)): UnrealBuildTool: In file included from Runtime/Sockets/Private\Android/SocketSubsystemAndroid.h:6: UATHelper: Packaging (Android (ETC2)): UnrealBuildTool: In file included from Runtime/Sockets/Private\BSDSockets/SocketSubsystemBSD.h:12: UATHelper: Packaging (Android (ETC2)): UnrealBuildTool: Runtime/Sockets/Private\BSDSockets/IPAddressBSD.h(131,19) : error: value size does not match register size specified by the constraint and modifier [-Werror,-Wasm-operand-widths] UATHelper: Packaging (Android (ETC2)): UnrealBuildTool:
Addr.sin_port = htons(InPort);

avatar image paul.jan725 Sep 19 '16 at 09:42 PM

Tried to make a armv7-esdeferred build and got:

UATHelper: Packaging (Android (ETC2)): UnrealBuildTool: C:\UnrealEngine2\Engine\Source\Runtime\RHI\Private\Android/AndroidDynamicRHI.cpp:17: error: undefined reference to 'FAndroidAppEntry::ReleaseEGL()' UATHelper: Packaging (Android (ETC2)): UnrealBuildTool: clang++.exe: error: linker command failed with exit code 1 (use -v to see invocation)

avatar image Samantha Sutton ♦♦ STAFF Sep 22 '16 at 05:40 PM

I spoke with our Developer further about this, ARM64 isn't going to be supported in Android-19 due to the headers. However, Android-21 should work perfectly fine for you. Please make sure that you've installed the correct CodeWorks SDK for what you're packaging for.

Send screenshots of your Android SDK settings from Codeworks and within the Engine.

Thanks!

avatar image paul.jan725 Sep 22 '16 at 10:17 PM

I also tried updating the tools from inside the android sdk, but that didn't change anything.

alt text

clipboard02.jpg (69.2 kB)
clipboard01.jpg (92.0 kB)
avatar image paul.jan725 Sep 22 '16 at 11:11 PM

I managed to break a c++ Blank project for arm64 by changing the Build.cs file

PublicDependencyModuleNames.AddRange(new string[] { "Core", "CoreUObject", "Engine", "InputCore", "UMG", "Slate", "SlateCore", "AIModule", "RenderCore", "ShaderCore", "RHI", "Serialization" });

PrivateDependencyModuleNames.AddRange(new string[] { "Json", /"JsonUtilities",/ "HTTP", "zlib", "Landscape" });

avatar image Samantha Sutton ♦♦ STAFF Sep 23 '16 at 02:51 PM

You need to use CodeWorks for Android 1R4u2 and you should be updating your SDK information to the following since you're on 4.13:

CodeWorks for Android Example

Android SDK Example

(comments are locked)
10|2000 characters needed characters left
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