Error Android packaging

Hi everyone !
I am working on a scene which used to deploy perfectly on my shield tablet.

Then I had to work on it on a different computer and now I’m back on “my” computer so I juste copy the files from a computer to another one and then I copy back the last version on my computer (don’t if that’s clear sorry ^^).

So before I was working on it with the other computer it worked perfectly now when I trop to launch/deploy it or package I have this error (I am working with the Ue4 Launcher not github) :

MainFrameActions: Packaging (Android
(All)): UE4Editor-Cmd: Execution of
commandlet took: 1864.91 seconds
MainFrameActions: Packaging (Android
(All)): CommandUtils.Run: Run: Took
1867,8888371s to run
UE4Editor-Cmd.exe, ExitCode=1
MainFrameActions: Packaging (Android
(All)): Project.Cook: Cook failed.
Deleting cooked data.
MainFrameActions: Packaging (Android
(All)): BuildCommand.Execute: ERROR:
BUILD FAILED MainFrameActions:
Packaging (Android (All)):
Program.Main: ERROR: AutomationTool
terminated with exception:
MainFrameActions: Packaging (Android
(All)): Program.Main: ERROR: Exception
in AutomationScripts.Automation: Cook
failed. MainFrameActions: Packaging
(Android (All)): Stacktrace: at
Project.Cook(ProjectParams Params)
MainFrameActions: Packaging (Android
(All)): at
BuildCookRun.DoBuildCookRun(ProjectParams
Params) MainFrameActions: Packaging
(Android (All)): at
BuildCommand.Execute()
MainFrameActions: Packaging (Android
(All)): at
AutomationTool.Automation.Execute(List1 CommandsToExecute, CaselessDictionary1 Commands)
MainFrameActions: Packaging (Android
(All)): at
AutomationTool.Automation.Process(String
CommandLine) MainFrameActions:
Packaging (Android (All)): at
AutomationTool.Program.MainProc(Object
Param) MainFrameActions: Packaging
(Android (All)): at
AutomationTool.InternalUtils.RunSingleInstance(Action`1
Main, Object Param) MainFrameActions:
Packaging (Android (All)): at
AutomationTool.Program.Main()InnerException
in AutomationUtils.Automation: BUILD
FAILED: Failed while running Cook for
C:\Users\Denis\Documents\Unreal
Projects\AppartBETA\AppartBETA.uproject;
see log
C:\Users\Denis\AppData\Roaming\Unreal
Engine\AutomationTool\Logs\C+Program+Files+Epic+Games+4.10\Cook-2016.01.28-11.30.56.txt
MainFrameActions: Packaging (Android
(All)): Stacktrace: at
AutomationTool.CommandUtils.RunCommandlet(String
ProjectName, String UE4Exe, String
Commandlet, String Parameters)
MainFrameActions: Packaging (Android
(All)): at
Project.Cook(ProjectParams Params)
MainFrameActions: Packaging (Android
(All)): ProcessManager.KillAll: Trying
to kill 0 spawned processes.
MainFrameActions: Packaging (Android
(All)): Program.Main: AutomationTool
exiting with
ExitCode=Error_UnknownCookFailure
MainFrameActions: Packaging (Android
(All)): Domain_ProcessExit
MainFrameActions: Packaging (Android
(All)): copying UAT log files…
MainFrameActions: Packaging (Android
(All)): RunUAT.bat ERROR:
AutomationTool was unable to run
successfully. MainFrameActions:
Packaging (Android (All)): BUILD
FAILED PackagingResults:Error: Error
Unknown Cook Failure

Thanks in advance !

Is android Works installed?

Yes it is sir ! And I would like to add that the deploy on the tablet is now working (by creating a new blank project and puting my content into it).
But the full packaging is not… :frowning:

Yes it is !

hmm, and visual Studio 2015 is installed and up to date?

hmm, check if the common tools are installed too, they are from VS2015, modifying our repairing VS2015 will give the option to donwload more content, make sure to download an install the commom tools

Also, try to delete the folders: Saved and Intermediate, delete both and try to pack/cook again.

I’ve tried modifying VS2015 and deleting those 2 folders but it still doesn’t work :frowning:
Is it a problem if VS2015 Enterprise is on my computer instead of VS2015 Community?

Thanks again for you help

Little up I’m still having the problem :frowning:

Hi Denis,

Were you able to package the project on the second computer?

Do you have an unmodified version from the first computer on the original machine and, if so, are you able to package it?

Were you using the same version of Visual Studio (Enterprise) on the second machine?

Have you successfully rebuilt the project in Visual Studio on the original machine before trying to package your project?

Have you tried making a clone of the project, undoing all changes that were made on the second computer, then retrying to package?

Please respond with this information…

Thanks,

.

Hi thanks a lot for your answer !
I took an older version on the 2nd computer and it worked !
I think it didn’t like the fact to change computer.

Now I can package my project I have another error when I’m trying to put it on my Nvidia Shield. When I launch the command file which is supposed to install it on my tablet I have these messages :

I have to say that deployment on tablet works like a charm and I can see my device when doing adb devices on a command prompt.

Thanks in advance if you can help me !

The initial issue is resolved: The second issue, “Invalid APK file Android” is being tracked on the following link so other users with the same problem can find it more easily:

https://answers.unrealengine.com/questions/374708/invalid-apk-file-android.html