Hi there, so I’ve actually had this problem for quite a while. I can’t launch or package to my Nvidia Shield Portable, ever since… a long time ago, like 4.3. Then I never bothered for a while
But when I went to try a month ago, it wouldn’t work. Either with my game that worked before, or a brand new template - neither will work. Before you had to follow a long process, which I did, but it still wouldn’t build even after that.
I saw 4.10 said it added support by default for my Shield Portable, but it still didn’t work after this update. I think this is where I’m going wrong, but I don’t know how to fix it. I’ve tried reinstalling Android Works.
" ERROR: Exception in UnrealBuildTool: ERROR: E:\Programs\Tegra Android Pack\android-ndk-r10e/ndk-build.cmd failed with args APP_ABI="armeabi-v7a " NDK_DEBUG=1 "
After that it has tons of errors.
Anyone have any advice? I am having a lot of trouble with this
I can paste the entire thing somewhere, but I’ve encountered more problems along the way. Or, gotten closer to what I suspect is the root rather
For whatever reason, nomatter how many times I uninstall and reinstall, Visual Studio REFUSES to show up. When I try and compile UE4 from Git, I get the error that I have no valid installation.
This is also what I believe lead to an error during the android works installation… im not sure if that’s even still needed with 4.10 but the point is I don’t have either Visual Studio nor 1 package of Android Works / Tegra Dev Kit installed, and I think that’s probably the root cause of this.
So I need to figure out why Visual Studio won’t install… Because it is installing it, it’s saying it’s complete, but it’s not being detected properly
Okay so I fixed my Visual Studio install problem, and I reinstalled Tegra Android Works (installed ALL the things). That all worked.
But on launch I now get this:
LogPlayLevel: BUILD FAILED
PackagingResults:Error: Error Launch failed! Missing UE4Game binary.
You may have to build the UE4 project with your IDE. Alternatively, build using UnrealBuildTool with the commandline:
UE4Game <Platform> <Configuration>
I should note that the version I’m using of UE4 ISN’T the compiled one from git, as I thought 4.10 made it so it just works, but I guess not, so I went to go compile it. Before I couldn’t compile because Visual Studio wasn’t installed. I get passed that now but get the error
“Setting up Unreal Engine 4 project files…
Android debugging may not be available (requires Visual Studio max version of 2013, use ‘-2013’ to override.)”
Adding -2013 doesn’t fix it, although I don’t have VS 2013 installed… however I am using the latest version of Android Works which the update notes said work with 2015. I can’t even find 2013 to install, I guess I could try…
Any ideas?
I remember around like 4.5 I somehow got a game on my shield without doing any of this and it ran flawless… now I can’t get it at all. Very frustrating, hopefully I can get this fixed
This is so frustrating I’m just having one problem after the other and I don’t even know if I’m doing anything right… why do I have to redownload and recompile the editor to make this work… I never did this before and it worked fine. This is so frustrating
The binary build from the launcher should have this prebuilt for you. Look in Engine/Binaries/Android for UE4Game-Android-Shipping-armv7-es2.so and UE4Game-armv7-es2.so.
I’ve tried to deal with this again but I am still getting errors, however, I am only getting this error with my main project now. I tried making a new Twin Stick Shooter project and it worked to send to my Shield, when last time that wouldn’t work.
However, my main project fails with this error;
LogPlayLevel: Project.CopyBuildToStagingDirectory: ********** STAGE COMMAND STARTED **********
LogPlayLevel: BuildCommand.Execute: ERROR: BUILD FAILED
LogPlayLevel: Program.Main: ERROR: AutomationTool terminated with exception:
LogPlayLevel: Program.Main: ERROR: Exception in AutomationScripts.Automation: Stage Failed. Missing receipt ‘VoidBetween-Android-Development.target.xml’. Check that this target has been built.
LogPlayLevel: Stacktrace: at Project.CreateDeploymentContext(ProjectParams Params, Boolean InDedicatedServer, Boolean DoCleanStage)
LogPlayLevel: at Project.CopyBuildToStagingDirectory(ProjectParams Params)
LogPlayLevel: at BuildCookRun.DoBuildCookRun(ProjectParams Params)
LogPlayLevel: at BuildCommand.Execute()
LogPlayLevel: at AutomationTool.Automation.Execute(List1 CommandsToExecute, CaselessDictionary1 Commands)
LogPlayLevel: at AutomationTool.Automation.Process(String] CommandLine)
LogPlayLevel: at AutomationTool.Program.MainProc(Object Param)
LogPlayLevel: at AutomationTool.InternalUtils.RunSingleInstance(Action`1 Main, Object Param)
LogPlayLevel: at AutomationTool.Program.Main()
LogPlayLevel: ProcessManager.KillAll: Trying to kill 0 spawned processes.
LogPlayLevel: Program.Main: AutomationTool exiting with ExitCode=Error_MissingExecutable
LogPlayLevel: Domain_ProcessExit
LogPlayLevel: copying UAT log files…
LogPlayLevel: RunUAT.bat ERROR: AutomationTool was unable to run successfully.
LogPlayLevel: Completed Launch On Stage: Build Task, Time: 2.254902
LogStats:Warning: MetaData mismatch. Did you assign a stat to two groups? New //STATGROUP_Threads//FLauncherTask///Thread_4b38_0///####STATCAT_Advanced#### old //STATGROUP_Threads//FLauncherTask///Thread_2180_0///####STATCAT_Advanced####
LogPlayLevel: Completed Launch On Stage: Deploy Task, Time: 0.000038
LogPlayLevel: BUILD FAILED
PackagingResults:Error: Error Launch failed! Missing UE4Game binary.
You may have to build the UE4 project with your IDE. Alternatively, build using UnrealBuildTool with the commandline:
UE4Game <Platform> <Configuration>
Can I fix this? I’m not sure why it’s erroring for my main project but not for new ones.
It looks like it did not build your code project for Android. Are you using package or launch? Launch can be set to build code projects in the Advanced Settings in the Play submenu; it may be set to never build.
The actual error should be higher up. It looks like an issue occurred while ant was running. As a shortcut, you can run “ant debug” from the project’s Intermediate/Android/APK directory and look at the output.
Hmm I don’t seem to have “ant debug” in that folder, unless you mean it’s an action I need to do (It’s probably pretty obvious by now but I am hopeless when it comes to coding and the like)