Announcement

Collapse
No announcement yet.

Android packaging for shipment

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    Android packaging for shipment

    Hello guys, I just wanted to package my game for shipment

    I have created keystore file and placed it in project/build/android folder... also i have tested that by android studio that the key is working ... by signing some random application.

    but when i try to package my unreal engine project for distribution it gives me error that system cannot find the keystore file specified

    here are logs.


    Code:
         MainFrameActions: Packaging (Android (ETC1)): BUILD FAILED
         MainFrameActions: Packaging (Android (ETC1)): D:\NVPACK\android-sdk-windows\tools\ant\build.xml:1135: The following error occurred while executing this line:
         MainFrameActions: Packaging (Android (ETC1)): D:\NVPACK\android-sdk-windows\tools\ant\build.xml:1147: E:\Documents\Unreal Projects\OneMinuteTower\Intermediate\Android\APK\oneminutetower (The system cannot find the file specified)
         MainFrameActions: Packaging (Android (ETC1)): Total time: 40 seconds
         MainFrameActions: Packaging (Android (ETC1)): BuildCommand.Execute: ERROR: BUILD FAILED
         MainFrameActions: Packaging (Android (ETC1)): Program.Main: ERROR: AutomationTool terminated with exception:
         MainFrameActions: Packaging (Android (ETC1)): Program.Main: ERROR: Exception in UnrealBuildTool: ERROR: cmd.exe failed with args /c "D:/NVPACK/apache-ant-1.8.2/bin/ant.bat" release
         MainFrameActions: Packaging (Android (ETC1)): Stacktrace:    at UnrealBuildTool.Android.UEDeployAndroid.RunCommandLineProgramAndThrowOnError(String WorkingDirectory, String Command, String Params, String OverrideDesc, Boolean bUseShellExecute)
         MainFrameActions: Packaging (Android (ETC1)):    at UnrealBuildTool.Android.UEDeployAndroid.MakeApk(String ProjectName, String ProjectDirectory, String OutputPath, String EngineDirectory, Boolean bForDistribution, String CookFlavor, Boolean bMakeSeparateApks, Boolean bIncrementalPackage, Boolean bDisallowPackagingDataInApk)
         MainFrameActions: Packaging (Android (ETC1)):    at UnrealBuildTool.Android.UEDeployAndroid.PrepForUATPackageOrDeploy(String ProjectName, String ProjectDirectory, String ExecutablePath, String EngineDirectory, Boolean bForDistribution, String CookFlavor, Boolean bIsDataDeploy)
         MainFrameActions: Packaging (Android (ETC1)):    at AndroidPlatform.Package(ProjectParams Params, DeploymentContext SC, Int32 WorkingCL)
         MainFrameActions: Packaging (Android (ETC1)):    at Project.Package(ProjectParams Params, Int32 WorkingCL)
         MainFrameActions: Packaging (Android (ETC1)):    at BuildCookRun.Do
         MainFrameActions: Packaging (Android (ETC1)): BuildCookRun(ProjectParams Params)
         MainFrameActions: Packaging (Android (ETC1)):    at BuildCommand.Execute()
         MainFrameActions: Packaging (Android (ETC1)):    at AutomationTool.Automation.Execute(List`1 CommandsToExecute, CaselessDictionary`1 Commands)
         MainFrameActions: Packaging (Android (ETC1)):    at AutomationTool.Automation.Process(String[] CommandLine)
         MainFrameActions: Packaging (Android (ETC1)):    at AutomationTool.Program.MainProc(Object Param)
         MainFrameActions: Packaging (Android (ETC1)):    at AutomationTool.InternalUtils.RunSingleInstance(Action`1 Main, Object Param)
         MainFrameActions: Packaging (Android (ETC1)):    at AutomationTool.Program.Main()
         MainFrameActions: Packaging (Android (ETC1)): ProcessManager.KillAll: Trying to kill 0 spawned processes.
         MainFrameActions: Packaging (Android (ETC1)): Program.Main: AutomationTool exiting with ExitCode=Error_Unknown
         MainFrameActions: Packaging (Android (ETC1)): Domain_ProcessExit
         MainFrameActions: Packaging (Android (ETC1)): copying UAT log files...
         MainFrameActions: Packaging (Android (ETC1)): RunUAT.bat ERROR: AutomationTool was unable to run successfully.
         MainFrameActions: Packaging (Android (ETC1)): BUILD FAILED
         PackagingResults:Error: Error Unknown Error

    #2
    I was mistaken, i just had to write .keystore along with the file name in fields under project settings... i am sorry,how can i delete this thread?

    Comment


      #3
      Just leave it here for the next person who has this problem
      UE4 Jam Entries:
      March 2016
      September 2016
      Epic MegaJam October 2016
      December 2016

      Comment


        #4
        okay

        i will

        Solution :
        Check for the name of keystore file and make sure you have put .keystore alongside with the name

        Comment

        Working...
        X