I’m trying to package an Android .apk in order to put it on the Android Market. I’ve marked it as follows in order to get a distribution application:
- Unser Project settings → Project → Packaging, I checked the “For distribution”
- Under Project settings → Platforms → Android, I checked the “Package game data inside .apk”
- Under Project settings → Platforms → Android, I filled the “Distribution Signing” with a custom keystore and keyfile that I self created.
But I’m receiving the following error:
MainFrameActions: Packaging (Android (ATC)): BuildCommand.Execute: ERROR: BUILD FAILED
MainFrameActions: Packaging (Android (ATC)): Program.Main: ERROR: AutomationTool terminated with exception:
MainFrameActions: Packaging (Android (ATC)): Program.Main: ERROR: Exception in Ionic.Zip.Reduced: Could not read C:\Users\Sonia\ \GreenDog\Repository\JellyBug\Saved\StagedBuilds\Android_ATC.obb as a zip file
MainFrameActions: Packaging (Android (ATC)): Stacktrace: en Ionic.Zip.ZipFile..ctor(String fileName)
MainFrameActions: Packaging (Android (ATC)): en AndroidPlatform.Package(ProjectParams Params, DeploymentContext SC, Int32 WorkingCL)
MainFrameActions: Packaging (Android (ATC)): en Project.Package(ProjectParams Params, Int32 WorkingCL)
MainFrameActions: Packaging (Android (ATC)): en BuildCookRun.DoBuildCookRun(ProjectParams Params)
MainFrameActions: Packaging (Android (ATC)): en BuildCommand.Execute()
MainFrameActions: Packaging (Android (ATC)): en AutomationTool.Automation.Execute(List`1 CommandsToExecute, CaselessDictionary`1 Commands)
MainFrameActions: Packaging (Android (ATC)): en AutomationTool.Automation.Process(String[] CommandLine)
MainFrameActions: Packaging (Android (ATC)): en AutomationTool.Program.MainProc(Object Param)
MainFrameActions: Packaging (Android (ATC)): en AutomationTool.InternalUtils.RunSingleInstance(Action`1 Main, Object Param)
MainFrameActions: Packaging (Android (ATC)): en AutomationTool.Program.Main()InnerException in mscorlib: Acceso denegado a la ruta de acceso 'C:\Users\Sonia\ \GreenDog\Repository\JellyBug\Saved\StagedBuilds\Android_ATC.obb'.
MainFrameActions: Packaging (Android (ATC)): Stacktrace: en System.IO.__Error.WinIOError(Int32 err
MainFrameActions: Packaging (Android (ATC)): orCode, String maybeFullPath)
MainFrameActions: Packaging (Android (ATC)): en System.IO.FileStream.Init(String path, FileMode mode, FileAccess access, Int32 rights, Boolean useRights, FileShare share, Int32 bufferSize, FileOptions options, SECURITY_ATTRIBUTES secAttrs, String msgPath, Boolean bFromProxy, Boolean useLongPath, Boolean checkHost)
MainFrameActions: Packaging (Android (ATC)): en System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share)
MainFrameActions: Packaging (Android (ATC)): en Ionic.Zip.ZipFile.get_ReadStream()
MainFrameActions: Packaging (Android (ATC)): en Ionic.Zip.ZipFile.ReadIntoInstance(ZipFile zf)
MainFrameActions: Packaging (Android (ATC)): en Ionic.Zip.ZipFile._InitInstance(String zipFileName, TextWriter statusMessageWriter)
MainFrameActions: Packaging (Android (ATC)): en Ionic.Zip.ZipFile..ctor(String fileName)
MainFrameActions: Packaging (Android (ATC)): ProcessManager.KillAll: Trying to kill 0 spawned processes.
MainFrameActions: Packaging (Android (ATC)): Program.Main: AutomationTool exiting with ExitCode=Error_Unknown
MainFrameActions: Packaging (Android (ATC)): Domain_ProcessExit
MainFrameActions: Packaging (Android (ATC)): copying UAT log files...
MainFrameActions: Packaging (Android (ATC)): RunUAT.bat ERROR: AutomationTool was unable to run successfully.
MainFrameActions: Packaging (Android (ATC)): BUILD FAILED
PackagingResults:Error: Error Unknown Error
This error doesn’t happen when I change the second sten and don’t package game data inside .apk. But I don’t know why I’m getting this error…
Any help will be really appreciated!
Attached full console log:
[link text][1]
and UE log:
[link text][2]
UE configuration screenshots: