Can't figure out why Android won't build anymore

I’m trying to deploy the game to a Zenfone 2. The Zenfone 2 shows up as a platform in the launch options.
I was able to run it fine on Friday, Before it got messed up I implemented DoN Navigation.
It runs perfectly fine in PIE, but it won’t deploy to Android.

I tried to remove DoN Navigation (by unchecking the plugin), and removing references to it from the level blueprint (the only blueprint that was referencing it), but it’s still failing.

I can supply whatever logs necessary if anyone could help.

btw the output log only reports warnings. The only error is “build failed for an unknown reason”

Thanks a lot in advance for any help!

Edit: It appears it’s failing when trying to verify. Deleting Intermediate, Saved, and Config folders allows it to build and deploy. However, that forces me to manually position, rotate and scale every single object in the level.

I don’t believe the zenfone 2 is using an arm based cpu, I could be wrong but if that is the case then the executable will likely not run. Try another android device that you know is arm based. Keep us updated! :slight_smile:

I guess if you were able to run it fine previously then that wouldn’t be the issue

If there are any log files attach them please

Hey CyberblastSoft, thanks for the response. Much appreciated.

Here’s the error log containing all the messages since the last time I tried to build it.

You are correct. I just verified the Zenfone 2 I have’s got an Intel Atom Z3580 (4 GB RAM model).

Sorry, I forgot to mention that I have no other android device at my disposal.

Here’s a screenshot of the build options available.
I never manually set the platform build options. I clicked that auto-set platform settings button at the top of APKI Packaging setting menu. I guess it determined I need armv7. Here’s a

of the build options I have.

I’ll see what happens if I try to build it with “Support OpenGL ES2” only checked.

Edit: I can’t remove the check from armv7 for some reason.

Please verify that “Common Tools for Visual C++ 2015” was selected when installing Visual Studio 2015. was in the log. Go to the installer of visual studio and check C++ in there and click install and it will add the C++ utilities. I think that is the problem

Hey CyberblastSoft, thanks a lot for checking out.

I relaunched the Visual Studio 2015 Community installer. Therein I went to “Custom” install, expanded all of the options and checked “Common Tools for Visual C++ 2015” before proceeding with the install. It’s installing now. I’ll post back with the results.

Thanks again!

Hello,

Unfortunately it’s still failing. I made sure UE4 wasn’t running before installing “Common Tools for Visual C++ 2015”, and I restarted windows before trying to build.

Here’s the full log.

And is what UnrealBuildTool-2016.07.05-13.53.18.txt (located in AppData/Roaming/Unreal Engine\AutomationTool/Logs) contains:

NDK version: 24, GccVersion: 4.9

building WITHOUT VULKAN define

ERROR: No modules found to build. All requested binaries were already part of the installed engine data.

i dont know if you need the Android SDK installed for to build? So do you have it installed? Otherwise im running out of ideas.

Hey thanks for the super quick response!

Yes, it’s installed, but not on my own accord.
I set up the android development environment by using the tools supplied by Epic (installer located here↓):
C:\Program Files\Epic Games\4.12\Engine\Extras\AndroidWorks\Win64\CodeWorksforAndroid-1R4-windows

Just let it install whatever it needed by default (ndk r11c, sdk windows and apache 1.8.2, jdk 1.7.0_71) and then added the env. variables to have it point to the appdata directory (C:\Users\wakelin\AppData\Local\Android\sdk\platform-tools)

Having done that, adb console commands, and more importantly my android, got recognized. After that I was able to build for it.

Glad you were able to build!

Hey Cyberblast, sorry. What I said must’ve been misleading.

It’s currently still in a state where it won’t build.

Installing the Epic provided C:\Program Files\Epic Games\4.12\Engine\Extras\AndroidWorks\Win64\CodeWorksforAndroid-1R4-windows it installed the Android SDK by default I believe. Trying to build android right after that it failed. I had to manually add the Appdata paths to environment variables and then it was able to build.

It was building for a couple days no problem.

After trying to implement plugin builds started failing. Disabling that plugin, and removing the folder from the project didn’t resolve the issue, so perhaps something else is the cause.

Nevertheless, I sincerely appreciate your time trying to help with !
If you don’t mind I’d like to change to “unresolved”.

I don’t mind

I had the same problem, in my case the problem was the antivirus software (Ransomware protection to be more precise) right after I turned off I went back to business working.

I have zenfone 2. I was having a problem too when suddenly build started failing.
Apparently my android sdk tools was not updated. I still haven’t updated that but what I did and worked for me is

In android -
I did minimum SDK to 9
and target to 21

Also in Android SDK -
I did SDK API level to matchndk
and NDK API level to android-21