Announcement

Collapse
No announcement yet.

Error creating Android Package in 4.13

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

    Error creating Android Package in 4.13

    Hi,

    Getting this error when creating an android package under 4.13 (windows is working fine, and I'm not having problems under 4.11). The project is just a straightup test of the new VR template to see how it will work on GearVR btw.

    LogSavePackage: Save=155.93ms
    LogSavePackage: Moving 'D:/UE4/TESTS/VRTemptest/VRTempTest2/Saved/UEDPCHMDLocomotionMap28A8F8974D3A6C79D02F418299150369.tmp' to 'D:/UE4/TESTS/VRTemptest/VRTempTest2/Saved/Autosaves/Game/VirtualRealityBP/Maps/UEDPCHMDLocomotionMap.umap'
    LogSavePackageisplay: Finished SavePackage D:/UE4/TESTS/VRTemptest/VRTempTest2/Saved/Autosaves/Game/VirtualRealityBP/Maps/UEDPCHMDLocomotionMap.umap
    LogEditorTransaction: Undo Spawn Play From Here Start
    UATHelper: Packaging (Android (ETC2)): Running AutomationTool...
    UATHelper: Packaging (Android (ETC2)): Automation.ParseCommandLine: Parsing command line: -ScriptsForProject=D:/UE4/TESTS/VRTemptest/VRTempTest2/VRTempTest2.uproject BuildCookRun -nocompile -nocompileeditor -installed -nop4 -project=D:/UE4/TESTS/VRTemptest/VRTempTest2/VRTempTest2.uproject -cook
    UATHelper: Packaging (Android (ETC2)): -stage -archive -archivedirectory=D:/UE4/TESTS/VRTemptest/VRTempTest2/Buildtest_01 -package -clientconfig=Development -ue4exe=UE4Editor-Cmd.exe -pak -prereqs -nodebuginfo -targetplatform=Android -cookflavor=ETC2 -build -CrashReporter -utf8output
    UATHelper: Packaging (Android (ETC2)): Automation.Process: Setting up command environment.
    UATHelper: Packaging (Android (ETC2)): BuildCookRun.SetupParams: Setting up ProjectParams for D:\UE4\TESTS\VRTemptest\VRTempTest2\VRTempTest2.uproject
    UATHelper: Packaging (Android (ETC2)): Project.Build: ********** BUILD COMMAND STARTED **********
    UATHelper: Packaging (Android (ETC2)): CommandUtils.Run: Run: C:\Program Files (x86)\Epic Games\4.13\Engine\Binaries\DotNET\UnrealBuildTool.exe UE4Game Android Development -remoteini="D:\UE4\TESTS\VRTemptest\VRTempTest2" -noxge -generatemanifest -NoHotReload
    UATHelper: Packaging (Android (ETC2)): UnrealBuildTool: NDK version: 19, GccVersion: 4.9
    UATHelper: Packaging (Android (ETC2)): UnrealBuildTool: building WITHOUT VULKAN define
    UATHelper: Packaging (Android (ETC2)): UnrealBuildTool: Vulkan SDK is installed, but the project disabled Vulkan (bSupportsVulkan setting in Engine). Disabling Vulkan RHI for Android
    UATHelper: Packaging (Android (ETC2)): UnrealBuildTool: ERROR: No modules found to build. All requested binaries were already part of the installed engine data.
    UATHelper: Packaging (Android (ETC2)): CommandUtils.Run: Run: Took 0.7436419s to run UnrealBuildTool.exe, ExitCode=5
    UATHelper: Packaging (Android (ETC2)): Program.Main: ERROR: AutomationTool terminated with exception: AutomationTool.CommandUtils+CommandFailedException: Command failed (Result:5): C:\Program Files (x86)\Epic Games\4.13\Engine\Binaries\DotNET\UnrealBuildTool.exe UE4Game Android Development -r
    UATHelper: Packaging (Android (ETC2)): emoteini="D:\UE4\TESTS\VRTemptest\VRTempTest2" -noxge -generatemanifest -NoHotReload. See logfile for details: 'UnrealBuildTool-2016.09.07-13.16.59.txt'
    UATHelper: Packaging (Android (ETC2)): at AutomationTool.CommandUtils.RunAndLog(String App, String CommandLine, String Logfile, Int32 MaxSuccessCode, String Input, ERunOptions Options, Dictionary`2 EnvVars, SpewFilterCallbackType SpewFilterCallback)
    UATHelper: Packaging (Android (ETC2)): at AutomationTool.CommandUtils.RunAndLog(CommandEnvironment Env, String App, String CommandLine, String LogName, Int32 MaxSuccessCode, String Input, ERunOptions Options, Dictionary`2 EnvVars, SpewFilterCallbackType SpewFilterCallback)
    UATHelper: Packaging (Android (ETC2)): at AutomationTool.CommandUtils.RunUBT(CommandEnvironment Env, String UBTExecutable, String CommandLine, String LogName, Dictionary`2 EnvVars)
    UATHelper: Packaging (Android (ETC2)): at AutomationTool.CommandUtils.RunUBT(CommandEnvironment Env, String UBTExecutable, FileReference Project, String Target, String Platform, String Config, String AdditionalArgs, String LogName, Dictionary`2 EnvVars)
    UATHelper: Packaging (Android (ETC2)): at AutomationTool.UE4Build.BuildWithUBT(String TargetName, UnrealTargetPlatform TargetPlatform, String Config, FileReference UprojectPath, Boolean ForceMonolithic, Boolean ForceNonUnity, Boolean ForceDebugInfo, Boolean ForceFlushMac, Boolean DisableXGE, String InAddArgs, Boolean ForceUnity, Dictionary`2 EnvVars)
    UATHelper: Packaging (Android (ETC2)): at AutomationTool.UE4Build.Build(BuildAgenda Agenda, Nullable`1 InDeleteBuildProducts, Boolean InUpdateVersionFiles, Boolean InForceNoXGE, Boolean InUseParallelExecutor, Boolean InForceNonUnity, Boolean InForceUnity, Boolean InShowProgress, Dictionary`2 PlatformEnvVars, Nullable`1 InChangelistNumberOverride, Dictiona
    ry`2 InTargetToManifest)
    UATHelper: Packaging (Android (ETC2)): at Project.Build(BuildCommand Command, ProjectParams Params, Int32 WorkingCL, ProjectBuildTargets TargetMask)
    UATHelper: Packaging (Android (ETC2)): at BuildCookRun.DoBuildCookRun(ProjectParams Params)
    UATHelper: Packaging (Android (ETC2)): at AutomationTool.BuildCommand.Execute()
    UATHelper: Packaging (Android (ETC2)): at AutomationTool.Automation.Execute(List`1 CommandsToExecute, CaselessDictionary`1 Commands)
    UATHelper: Packaging (Android (ETC2)): at AutomationTool.Automation.Process(String[] Arguments)
    UATHelper: Packaging (Android (ETC2)): at AutomationTool.Program.MainProc(Object Param)
    UATHelper: Packaging (Android (ETC2)): at AutomationTool.InternalUtils.RunSingleInstance(Func`2 Main, Object Param)
    UATHelper: Packaging (Android (ETC2)): at AutomationTool.Program.Main()
    UATHelper: Packaging (Android (ETC2)): Program.Main: AutomationTool exiting with ExitCode=5 (5)
    UATHelper: Packaging (Android (ETC2)): BUILD FAILED
    PackagingResults:Error: Error Unknown Error


    I have NVPACK installed and setup as shown in the attached images.

    Any help would be much appreciated! Thanks!
    Attached Files
    Ahmed ElHusseiny
    Principal/Designer
    AE Superlab
    www.aesuperlab.com

    #2
    Hey,

    Try the following things.

    1. Set the minimum SDK version to 19. See the tooltip it states what you need to state it to for VR.

    2. There are some radio boxes regarding to VR in the settings further when you scroll down. Make sure you have them set properly. Refer to this document https://docs.unrealengine.com/latest/INT/Platforms/VR/

    3. Make sure you have activated the respective plugins for VR.

    4. I don't know VR good but as far as my knowledge goes, you need an osig file for packaging with VR. See this https://www.youtube.com/watch?v=rNjDsNYvgfk It is for Gear VR I think don't know if same procedure follows for all.

    5. Still not packaging, check whether you have all your SDK updated to latest and set the ndk to android-21.

    Regards.

    Comment


      #3
      Will try all this. Thanks!
      Ahmed ElHusseiny
      Principal/Designer
      AE Superlab
      www.aesuperlab.com

      Comment


        #4
        Did this help? I'm having the same issue.

        Comment


          #5
          Same issue here. Any ideas, anyone?

          Comment


            #6
            Originally posted by VRA_Nathan View Post
            Same issue here. Any ideas, anyone?
            This particular "No module found" error is due to plug-ins.

            Disable all the plug-in's and try, it will package correctly

            Comment

            Working...
            X