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"

[UE4.7.0 Bug] Deploying to Nexus 9: ERROR: Unknown NDK architecture 'arm64-v8a'

Dear Epic Support/Community,

I'm getting the following error, when trying to deploy to a Nexus 9:

 ERROR: Unknown NDK architecture 'arm64-v8a'

I've tried later versions of the Android Tegra Pack but with no luck.

Hope anyone can help.

Thanks, James

Product Version: Not Selected
Tags:
more ▼

asked Feb 25 '15 at 03:34 PM in Packaging & Deployment

avatar image

MinxiesDev
280 18 26 40

avatar image wittlief ♦♦ STAFF Mar 04 '15 at 03:42 PM

Hi Minxies,

Can you attach the entirety of your output logs for this failure? That will give us a little more information about your issue.

Thanks very much!

avatar image theProfessor Mar 10 '15 at 06:58 PM

Where is uedeployandroid.cs? Do I have to recompile 4.7.2 from the source?

avatar image theProfessor Mar 05 '15 at 04:07 PM

I am getting the same thing with 4.7.2. Here error list

BuildCommand.Execute: ERROR: BUILD FAILED Program.Main: ERROR: AutomationTool terminated with exception: Program.Main: ERROR: Exception in UnrealBuildTool: ERROR: Unknown NDK architecture 'arm64-v8a' Stacktrace: at UnrealBuildTool.Android.UEDeployAndroid.GetUE4Arch(String NDKArch) at AndroidPlatform.GetBestDeviceArchitecture(ProjectParams Params) at AndroidPlatform.Deploy(ProjectParams Params, DeploymentContext SC) at Project.Deploy(ProjectParams Params) at BuildCookRun.DoBuildCookRun(ProjectParams Params) at BuildCommand.Execute() at AutomationTool.Automation.Execute(List`1 CommandsToExecute, CaselessDictionary`1 Commands) at AutomationTool.Automation.Process(String[] CommandLine) at AutomationTool.Program.MainProc(Object Param) at AutomationTool.InternalUtils.RunSingleInstance(MainProc Main, Object Param) at AutomationTool.Program.Main() Program.Main: ERROR: ERROR: Unknown NDK architecture 'arm64-v8a'

avatar image wittlief ♦♦ STAFF Mar 05 '15 at 04:26 PM

Hi theProfessor,

Is your issue also specific to the Nexus 9? If it is not, do you mind opening a separate AnswerHub thread with your issue, and also including the entirety of your failed build output logs? This will help us keep track of issues that may or may not be related. Thanks very much!

avatar image theProfessor Mar 05 '15 at 05:14 PM

I am deploying on the Nexus 9.

avatar image wittlief ♦♦ STAFF Mar 05 '15 at 06:06 PM

Can you include the failed build output logs for your project to this thread? Thanks very much!

avatar image wittlief ♦♦ STAFF Mar 05 '15 at 08:20 PM

Do you mind setting that so that anyone can see? It would otherwise mean using my work email to ask permission to view the file, which I can't really do. You can try saving to a notepad and attaching directly to this thread, also.

avatar image theProfessor Mar 05 '15 at 08:43 PM
avatar image wittlief ♦♦ STAFF Mar 05 '15 at 09:06 PM

Ok, I may have found the crucial piece of info:

The Nexus 9 runs on a 64-bit Dual Core processor, which makes it the first Android device to ship with a 64-bit ARM instruction set. Support for 64-bit processors was just added in Android 5.0, so if you have an NDK app, enable it by updating the APP_ABI value in your Application. mk file:

APP_ABI := armeabi armeabi-v7a arm64-v8a x86 x86_64 mips mips64

This would likely explain why you're both getting the ERROR: Unknown NDK architecture 'arm64-v8a'

Give that a try and let me know if it works.

avatar image theProfessor Mar 05 '15 at 11:21 PM

No still no luck. Here is the Application.mk file APP_ABI := armeabi armeabi-v7a arm64-v8a x86 x86_64 mips mips64 APP_PLATFORM := android-9

avatar image wittlief ♦♦ STAFF Mar 05 '15 at 11:26 PM

that is the APP_ABI info that you currently see in the NDK? Did you try replacing it with APP_ABI info in the above comment?

avatar image theProfessor Mar 05 '15 at 11:30 PM

Not following you. The Application.mk that I am using is


APP_ABI := armeabi armeabi-v7a arm64-v8a x86 x86_64 mips mips64 APP_PLATFORM := android-9


avatar image wittlief ♦♦ STAFF Mar 05 '15 at 11:46 PM

Try opening the application makefile, and replacing the info that is there with this: APP_ABI := armeabi armeabi-v7a arm64-v8a x86 x86_64 mips mips64

Save the file and try once more. Thanks!

avatar image theProfessor Mar 06 '15 at 03:05 PM

OK. The mk file looks like this

APP_ABI := armeabi-v7a APP_PLATFORM := android-9


I changed it to this

APP_ABI := armeabi armeabi-v7a arm64-v8a x86 x86_64 mips mips64 APP_PLATFORM := android-9


Then launched Still the same error.

avatar image wittlief ♦♦ STAFF Mar 06 '15 at 03:14 PM

Can you try once more leaving off the APP_PLATFORM section? Unfortunately we don't have an Nexus 9 for me to assist on this end. Here again is the blog that explains how to update the NDK for the Nexus 9. It might be more clear than I am.

avatar image theProfessor Mar 06 '15 at 08:59 PM

Made the change. Same error. I even installed tadp-4.0r1. It says this fixes the arm64 problem. Will again on Monday. Have good weekend.

avatar image theProfessor Mar 09 '15 at 05:33 PM

Goto Project Setting>Android and look at Build. It has grayed out "Support armv7(aka armeabi-v7a) it needs to be arm64-v8a. How do I change this?

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

2 answers: sort voted first

Ok, I've had our Android guy take a look at this, and he's going to make some changes to make the Nexus 9 support a little easier to happen. This should make it into the 4.7.3 update that will come out next week. Hold tight until then, and that update should resolve this. Thank you for your patience.

more ▼

answered Mar 13 '15 at 09:06 PM

avatar image MinxiesDev Mar 16 '15 at 03:21 PM

Great, thanks Wittlief. Really looking forward to this.

Regards, James

avatar image theProfessor Mar 17 '15 at 07:45 PM

Downloading 4.7.3. Has anyone tried it? Did it fix the problem.

avatar image MinxiesDev Mar 17 '15 at 08:10 PM

Yep, tried it with the binary build of 4.7.3 and it works a treat!

Thanks Epic/Epic platform team!

avatar image theProfessor Mar 20 '15 at 04:46 PM

It now pushes the app to the Nexus 9. However, DM's, physics does not work. I don't see any indication that arm64-v8a is enabled. Minxies have you tried a FPS game with a DM?

avatar image MinxiesDev Mar 20 '15 at 04:56 PM

Sorry, haven't tried a destructible mesh (not in my current project's scope)

Sounds like you might need to post a LogCat of your Android app and hopefully others may be able to help.

LogCats can be obtained with tools like Android Studio.

Best of luck.

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

Add this code to UEDeployAndroid.cs(292)

case "arm64-v8a": return "-arm64";

more ▼

answered Mar 09 '15 at 08:33 PM

avatar image

にゃんたまランド
153 1 8 10

avatar image theProfessor Mar 10 '15 at 07:09 PM

Where is uedeployandroid.cs? Do I have to get the source for 4.7.2 and recompile it?

avatar image にゃんたまランド Mar 11 '15 at 01:14 AM

Yes. You have to recompile UnrealBuildTool.

1.Change Engine\Source\Programs\UnrealBuildTool\Android\UEBuildAndroid.cs

2.Open UE4.sln

3.Build UnrealBuildTool.

avatar image theProfessor Mar 11 '15 at 06:15 PM

Is this OK.

switch (UE4Arch) { case "-armv7": return "armeabi-v7a"; case "arm64-v8a": return "-arm64"; case "-x86": return "x86";


I would still like the armv 7 option. Is they anyway to do a build on the source without doing the whole file again? I tried rebuild it is still taking forever.

(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