I got 4.14 source code , compiled it , and when I want to package my project for android I get this error :
Running AutomationTool…
Automation.ParseCommandLine: Parsing command line: -ScriptsForProject=“D:/Program Files/Epic Games/4.14/” BuildCookRun -project=“D:/Program Files/Epic Games/4.14/” -noP4 -clientconfig=Development -serverconfig=Development -nocompileeditor -ue4exe=UE4Editor-Cmd.exe -utf8output -platform=Android_ETC1 -targetplatform=Android -cookflavor=ETC1 -build -cook -map=Test -unversionedcookedcontent -pak -createreleaseversion=1.0 -stage -package -cmdline=“Test -Messaging” -addcmdline="-SessionId=31357493436431D1624A328D0AE41B4B -SessionOwner=‘KandK’ -SessionName=‘test - Android APK’" -archive -archivedirectory=C:/Users/KandK/Desktop/App/1.0 -compile
Program.Main: ERROR: AutomationTool terminated with exception: AutomationTool.AutomationException: Project ‘D:/Program Files/Epic Games/4.14/’ does not exist
at AutomationTool.Automation.ParseParam(String CurrentParam, CommandInfo CurrentCommand, String& OutScriptsForProjectFileName, List1 OutAdditionalScriptsFolders) in D:\Program Files\Epic Games\4.14\Engine\Source\Programs\AutomationTool\AutomationUtils\Automation.cs:line 201 at AutomationTool.Automation.ParseCommandLine(String[] Arguments, List1 OutCommandsToExecute, String& OutScriptsForProjectFileName, List1 OutAdditionalScriptsFolders) in D:\Program Files\Epic Games\4.14\Engine\Source\Programs\AutomationTool\AutomationUtils\Automation.cs:line 391 at AutomationTool.Automation.Process(String[] Arguments) in D:\Program Files\Epic Games\4.14\Engine\Source\Programs\AutomationTool\AutomationUtils\Automation.cs:line 443 at AutomationTool.Program.MainProc(Object Param) in D:\Program Files\Epic Games\4.14\Engine\Source\Programs\AutomationTool\Program.cs:line 135 at AutomationTool.InternalUtils.RunSingleInstance(Func2 Main, Object Param) in D:\Program Files\Epic Games\4.14\Engine\Source\Programs\AutomationTool\AutomationUtils\Utils.cs:line 704
at AutomationTool.Program.Main() in D:\Program Files\Epic Games\4.14\Engine\Source\Programs\AutomationTool\Program.cs:line 59
Program.Main: AutomationTool exiting with ExitCode=1 (Error_Unknown)
BUILD FAILED
I’ve tried different projects , also tried rebuilding the automation tool from visual studio but I’m not getting any results.
If any one can help me with this I would be thankful.
Yes I have tested on Sidescroller template too , getting the same result. I went further investigating this problem , uninstalled engine and recompiled it , for the first time packaging the project ( For Android ETC.1 ) I get errors like log2.txt file with more errors tough , some errors about pngwrapper and other things like that , After this error I’ve rebuilt Automationtool , Buildtool and others connected classes , This time I got error : UnrealBuildTool Exception: ERROR: E:/Games/Unreal Tournament//android-ndk-r12b/ndk-build.cmd failed with args APP_ABI="armeabi-v7a " NDK_DEBUG=1
After getting this error I’ve closed the engine and reopened it as and again I got the error in the question(Log1.txt) , After all of this I went and download ARM EABI v7a System Image and reinstalled NDK b12 , After building project for ETC.1 I got log2.txt error . It’s really confusing since its giving me different errors each time , I fear now to close the engine and once I reopen it I get a new error.
Note that :
everything works fine in Engine ver 4.13 , All the things that I described at top was tested on sidescroller template project.
-Another interesting thing that got my attention was when I tried to configure project for Android I got this message : CAN NOT OVERWRITE PROJECT PROPERTIES.
-I’m using projectlauncher in order to build my project , Once I reopen and delete the minimal android apk+dlc and remake it I get errors like log2.txt
I’m really losing time on these errors since the product is live on market and I have to make updates as soon as possible for advertisement purposes.
What I did from last night until today and got somehow a fix :
-ran setup.batch and overwrite all modified classes
This Solution worked on my sidescroller template though but after switching to my own project I got errors again.
-So after that I Ran cmd and ran NDK command on that and did the following : I figured that the spaces in Unreal Projects ( name of the folder ) was causing NDK to failed to build correctly.
-Thus still I get this error randomly but I have the cmd opened and I run the commands and it fix the error odd tough.
Currently my problem is fixed , I did as I said down here , the command prompt for NDK address is not needed anymore by the way and I’m not having any issues packaging for now.
Thanks!