Download

Android Launch Error (version 4.13.2)

My Android sdk Settings
Безымянныaй.jpg
When i try to launch on device -
Running AutomationTool…
Automation.ParseCommandLine: Parsing command line: -ScriptsForProject=D:/project/MyProject7/MyProject7.uproject BuildCookRun -project=D:/project/MyProject7/MyProject7.uproject -noP4 -clientconfig=Development -serverconfig=Development -nocompile -nocompileeditor -installed -ue4exe=UE4Editor-Cmd.exe -utf8output -platform=Android -build -cookonthefly -nokill -map= -compressed -stage -deploy -cmdline=" -Messaging" -device=Android@45419841f89d4f89498s-addcmdline="-SessionId=ASD73847SAGDYGASY-SessionOwner=‘User’ -SessionName=‘SM_G920F (45419841f89d4f89498s)’ " -run
Automation.Process: Setting up command environment.
BuildCookRun.SetupParams: Setting up ProjectParams for D:\project\MyProject7\MyProject7.uproject
Project.Build: ********** BUILD COMMAND STARTED **********
CommandUtils.Run: Run: C:\Program Files (x86)\Epic Games\4.13\Engine\Binaries\DotNET\UnrealBuildTool.exe MyProject7 Android Development -Project=D:\project\MyProject7\MyProject7.uproject D:\project\MyProject7\MyProject7.uproject -remoteini=“D:\project\MyProject7” -noxge -generatemanifest -NoHotReload
UnrealBuildTool: NDK version: 19, GccVersion: 4.9
UnrealBuildTool: building WITHOUT VULKAN define
UnrealBuildTool: Vulkan SDK is installed, but the project disabled Vulkan (bSupportsVulkan setting in Engine). Disabling Vulkan RHI for Android
CommandUtils.Run: Run: Took 3,3186813s to run UnrealBuildTool.exe, ExitCode=0
CommandUtils.Run: Run: C:\Program Files (x86)\Epic Games\4.13\Engine\Binaries\DotNET\UnrealBuildTool.exe MyProject7 Android Development -Project=D:\project\MyProject7\MyProject7.uproject D:\project\MyProject7\MyProject7.uproject -remoteini=“D:\project\MyProject7” -noxge -NoHotReload -ignorejunk
UnrealBuildTool: Target is up to date
CommandUtils.Run: Run: Took 3,465571s to run UnrealBuildTool.exe, ExitCode=0
CommandUtils.Run: Run: C:\Program Files (x86)\Epic Games\4.13\Engine\Binaries\DotNET\UnrealBuildTool.exe MyProject7 Android Development -prepfordeploy -project=“D:\project\MyProject7\MyProject7.uproject” -NoHotReload -ignorejunk
UnrealBuildTool: NDK version: 19, GccVersion: 4.9
UnrealBuildTool: building WITHOUT VULKAN define
UnrealBuildTool: Receipt Filename: D:\project\MyProject7\Binaries\Android\MyProject7.target
UnrealBuildTool: AndroidPlugin: Plugins\Runtime\GearVR\Source\GearVR\GearVR_APL.xml
UnrealBuildTool:
UnrealBuildTool: UPL: …\Plugins/Runtime/GearVR/Source/GearVR/GearVR_APL.xml
UnrealBuildTool:
UnrealBuildTool: ====29.11.2016 10:37:40====PREPARING TO MAKE APK=================================================================
UnrealBuildTool:
UnrealBuildTool: ==== Writing to shim file D:\project\MyProject7\Build\Android\src\com\epicgames\ue4\DownloadShim.java ====
UnrealBuildTool:
UnrealBuildTool: ==== Shim data file up to date so not writing. ====
UnrealBuildTool:
UnrealBuildTool: ==== Writing to template target file D:\project\MyProject7\Build\Android\src\com\YourCompany\MyProject7\AlarmReceiver.java ====
UnrealBuildTool:
UnrealBuildTool: ==== Template target file up to date so not writing. ====
UnrealBuildTool:
UnrealBuildTool: ==== Writing to template target file D:\project\MyProject7\Build\Android\src\com\YourCompany\MyProject7\DownloaderActivity.java ====
UnrealBuildTool:
UnrealBuildTool: ==== Template target file up to date so not writing. ====
UnrealBuildTool:
UnrealBuildTool: ==== Writing to template target file D:\project\MyProject7\Build\Android\src\com\YourCompany\MyProject7\OBBDownloaderService.java ====
UnrealBuildTool:
UnrealBuildTool: ==== Template target file up to date so not writing. ====
UnrealBuildTool: Cleaning up files based on template dir D:\project\MyProject7\Build\Android\src\com\YourCompany\MyProject7
UnrealBuildTool: Building Java with SDK API level ‘android-19’
UnrealBuildTool: D:\project\MyProject7\Binaries\Android\MyProject7-armv7-es2.apk is out of date due to newer input file D:\project\MyProject7\Binaries\Android\MyProject7-armv7-es2.so
UnrealBuildTool: UPL Init: armeabi-v7a
UnrealBuildTool: GearVR init
UnrealBuildTool: Oculus Signature Files (osig) will be removed from APK
UnrealBuildTool: On build machine.
UnrealBuildTool: bPackageDataInsideApk = False
UnrealBuildTool: Added repository: D:\NDK\NVPACK\android-sdk-windows\extras\android\m2repository
UnrealBuildTool: Added repository: …\Engine\Source\ThirdParty\Android\extras\google\m2repository
UnrealBuildTool: Added repository: …\Engine\Source\ThirdParty\Android\extras\android\m2repository
UnrealBuildTool: AARImports: com.google.android.gms, play-services-ads, 9.2.0
UnrealBuildTool: AARImports: com.google.android.gms, play-services-auth, 9.2.0
UnrealBuildTool: AARImports: com.google.android.gms, play-services-games, 9.2.0
UnrealBuildTool: AARImports: com.google.android.gms, play-services-nearby, 9.2.0
UnrealBuildTool: AARImports: com.google.android.gms, play-services-plus, 9.2.0
UnrealBuildTool:
UnrealBuildTool: ====29.11.2016 10:37:41====PREPARING NATIVE CODE=================================================================
UnrealBuildTool: On build machine.
UnrealBuildTool:
UnrealBuildTool: ====29.11.2016 10:37:41====UPDATING BUILD CONFIGURATION FILES====================================================
UnrealBuildTool: Updating project.properties, local.properties, and build.xml for downloader_library…
UnrealBuildTool: Updating project.properties, local.properties, and build.xml for play-services-ads-9.2.0…
UnrealBuildTool: Updating project.properties, local.properties, and build.xml for play-services-ads-lite-9.2.0…
UnrealBuildTool: Updating project.properties, local.properties, and build.xml for play-services-auth-9.2.0…
UnrealBuildTool: Updating project.properties, local.properties, and build.xml for play-services-auth-base-9.2.0…
UnrealBuildTool: Updating project.properties, local.properties, and build.xml for play-services-base-9.2.0…
UnrealBuildTool: Updating project.properties, local.properties, and build.xml for play-services-basement-9.2.0…
UnrealBuildTool: Updating project.properties, local.properties, and build.xml for play-services-clearcut-9.2.0…
UnrealBuildTool: Updating project.properties, local.properties, and build.xml for play-services-drive-9.2.0…
UnrealBuildTool: Updating project.properties, local.properties, and build.xml for play-services-games-9.2.0…
UnrealBuildTool: Updating project.properties, local.properties, and build.xml for play-services-gass-9.2.0…
UnrealBuildTool: Updating project.properties, local.properties, and build.xml for play-services-nearby-9.2.0…
UnrealBuildTool: Updating project.properties, local.properties, and build.xml for play-services-plus-9.2.0…
UnrealBuildTool: Updating project.properties, local.properties, and build.xml for play-services-tasks-9.2.0…
UnrealBuildTool: Updating project.properties, local.properties, and build.xml for support-v4-23.0.0…
UnrealBuildTool:
UnrealBuildTool: ==== Writing new GameActivity.java file to D:\project\MyProject7\Intermediate/Android/APK\src\com\epicgames\ue4\GameActivity.java ====
UnrealBuildTool: Preparing native code for debugging…
UnrealBuildTool: UnrealBuildTool Exception: ERROR: D:/NDK/NVPACK/android-ndk-r12b/ndk-build.cmd failed with args APP_ABI="armeabi-v7a " NDK_DEBUG=1
CommandUtils.Run: Run: Took 41,4808687s to run UnrealBuildTool.exe, ExitCode=5
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 MyProject7 Android Development -prepfordeploy -project=“D:\project\MyProject7\MyProject7.uproject” -NoHotReload -ignorejunk. See logfile for details: ‘UnrealBuildTool-2016.11.29-10.37.40.txt’
в AutomationTool.CommandUtils.RunAndLog(String App, String CommandLine, String Logfile, Int32 MaxSuccessCode, String Input, ERunOptions Options, Dictionary2 EnvVars, SpewFilterCallbackType SpewFilterCallback) в AutomationTool.CommandUtils.RunAndLog(CommandEnvironment Env, String App, String CommandLine, String LogName, Int32 MaxSuccessCode, String Input, ERunOptions Options, Dictionary2 EnvVars, SpewFilterCallbackType SpewFilterCallback)
в AutomationTool.CommandUtils.RunUBT(CommandEnvironment Env, String UBTExecutable, String CommandLine, String LogName, Dictionary2 EnvVars) в AndroidPlatform.PostBuildTarget(UE4Build Build, FileReference UProjectPath, String TargetName, String Config) в 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, Dictionary2 EnvVars)
в AutomationTool.UE4Build.Build(BuildAgenda Agenda, Nullable1 InDeleteBuildProducts, Boolean InUpdateVersionFiles, Boolean InForceNoXGE, Boolean InUseParallelExecutor, Boolean InForceNonUnity, Boolean InForceUnity, Boolean InShowProgress, Dictionary2 PlatformEnvVars, Nullable1 InChangelistNumberOverride, Dictionary2 InTargetToManifest)
в Project.Build(BuildCommand Command, ProjectParams Params, Int32 WorkingCL, ProjectBuildTargets TargetMask)
в BuildCookRun.DoBuildCookRun(ProjectParams Params)
в AutomationTool.BuildCommand.Execute()
в AutomationTool.Automation.Execute(List1 CommandsToExecute, CaselessDictionary1 Commands)
в AutomationTool.Automation.Process(String] Arguments)
в AutomationTool.Program.MainProc(Object Param)
в AutomationTool.InternalUtils.RunSingleInstance(Func`2 Main, Object Param)
в AutomationTool.Program.Main()
Program.Main: AutomationTool exiting with ExitCode=5 (5)
BUILD FAILED

Please Help!
when i packing project to android -LogWindows: LaunchURL http://developer.android.com/tools/publishing/app-signing.html#releasemode
LogStats:Warning: MetaData mismatch. Did you assign a stat to two groups? New //STATGROUP_Threads//FTcpMessageTransportConnection///Thread_2520_0///####STATCAT_Advanced#### old //STATGROUP_Threads//FTcpMessageTransportConnection///Thread_1870_0///####STATCAT_Advanced####
Cmd: OBJ SAVEPACKAGE PACKAGE="/Game/FlyingCPP/Maps/FlyingExampleMap" FILE=“D:/project/MyProject7/Saved/Autosaves/Game/FlyingCPP/Maps/UEDPCFlyingExampleMap.umap” SILENT=true AUTOSAVING=true KEEPDIRTY=true
LogSavePackage: Save=925.07ms
LogSavePackage: Moving ‘D:/project/MyProject7/Saved/UEDPCFlyingExampleMap85A208984CD9212CD9C2B4862AD4E010.tmp’ to ‘D:/project/MyProject7/Saved/Autosaves/Game/FlyingCPP/Maps/UEDPCFlyingExampleMap.umap’
LogSavePackage:Display: Finished SavePackage D:/project/MyProject7/Saved/Autosaves/Game/FlyingCPP/Maps/UEDPCFlyingExampleMap.umap
LogEditorTransaction: Undo Spawn Play From Here Start
UATHelper: Packaging (Android (All)): Running AutomationTool…
UATHelper: Packaging (Android (All)): Automation.ParseCommandLine: Parsing command line: -ScriptsForProject=D:/project/MyProject7/MyProject7.uproject BuildCookRun -nocompile -nocompileeditor -installed -nop4 -project=D:/project/MyProject7/MyProject7.uproject -cook -stage -archive -archivedirec
UATHelper: Packaging (Android (All)): tory=D:/project/adndemo -package -clientconfig=Development -ue4exe=UE4Editor-Cmd.exe -pak -prereqs -nodebuginfo -targetplatform=Android -build -CrashReporter -utf8output
UATHelper: Packaging (Android (All)): Automation.Process: Setting up command environment.
UATHelper: Packaging (Android (All)): BuildCookRun.SetupParams: Setting up ProjectParams for D:\project\MyProject7\MyProject7.uproject
UATHelper: Packaging (Android (All)): Project.Build: ********** BUILD COMMAND STARTED **********
UATHelper: Packaging (Android (All)): CommandUtils.Run: Run: C:\Program Files (x86)\Epic Games\4.13\Engine\Binaries\DotNET\UnrealBuildTool.exe MyProject7 Android Development -Project=D:\project\MyProject7\MyProject7.uproject D:\project\MyProject7\MyProject7.uproject -remoteini=“D:\project\My
UATHelper: Packaging (Android (All)): Project7” -noxge -generatemanifest -NoHotReload
UATHelper: Packaging (Android (All)): UnrealBuildTool: NDK version: 19, GccVersion: 4.9
UATHelper: Packaging (Android (All)): UnrealBuildTool: building WITHOUT VULKAN define
UATHelper: Packaging (Android (All)): UnrealBuildTool: Vulkan SDK is installed, but the project disabled Vulkan (bSupportsVulkan setting in Engine). Disabling Vulkan RHI for Android
UATHelper: Packaging (Android (All)): UnrealBuildTool: ERROR: Attempted to use UEBuildBinaryConfiguration.OutputFilePath property, but there are multiple (or no) OutputFilePaths. You need to handle multiple in the code that called this (size = 2)
UATHelper: Packaging (Android (All)): CommandUtils.Run: Run: Took 2,8502101s to run UnrealBuildTool.exe, ExitCode=5
UATHelper: Packaging (Android (All)): 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 MyProject7 Android Development -
UATHelper: Packaging (Android (All)): Project=D:\project\MyProject7\MyProject7.uproject D:\project\MyProject7\MyProject7.uproject -remoteini=“D:\project\MyProject7” -noxge -generatemanifest -NoHotReload. See logfile for details: ‘UnrealBuildTool-2016.11.29-10.55.14.txt’
UATHelper: Packaging (Android (All)): в AutomationTool.CommandUtils.RunAndLog(String App, String CommandLine, String Logfile, Int32 MaxSuccessCode, String Input, ERunOptions Options, Dictionary2 EnvVars, SpewFilterCallbackType SpewFilterCallback) UATHelper: Packaging (Android (All)): в AutomationTool.CommandUtils.RunAndLog(CommandEnvironment Env, String App, String CommandLine, String LogName, Int32 MaxSuccessCode, String Input, ERunOptions Options, Dictionary2 EnvVars, SpewFilterCallbackType SpewFilterCallback)
UATHelper: Packaging (Android (All)): в AutomationTool.CommandUtils.RunUBT(CommandEnvironment Env, String UBTExecutable, String CommandLine, String LogName, Dictionary2 EnvVars) UATHelper: Packaging (Android (All)): в AutomationTool.CommandUtils.RunUBT(CommandEnvironment Env, String UBTExecutable, FileReference Project, String Target, String Platform, String Config, String AdditionalArgs, String LogName, Dictionary2 EnvVars)
UATHelper: Packaging (Android (All)): в 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, Dictionary2 EnvVars) UATHelper: Packaging (Android (All)): в AutomationTool.UE4Build.Build(BuildAgenda Agenda, Nullable1 InDeleteBuildProducts, Boolean InUpdateVersionFiles, Boolean InForceNoXGE, Boolean InUseParallelExecutor, Boolean InForceNonUnity, Boolean InForceUnity, Boolean InShowProgress, Dictionary2 PlatformEnvVars, Nullable1 InChangelistNumberOverride, Dictionary
2 InTargetToManifest) UATHelper: Packaging (Android (All)): в Project.Build(BuildCommand Command, ProjectParams Params, Int32 WorkingCL, ProjectBuildTargets TargetMask) UATHelper: Packaging (Android (All)): в BuildCookRun.DoBuildCookRun(ProjectParams Params) UATHelper: Packaging (Android (All)): в AutomationTool.BuildCommand.Execute() UATHelper: Packaging (Android (All)): в AutomationTool.Automation.Execute(List1 CommandsToExecute, CaselessDictionary1 Commands) UATHelper: Packaging (Android (All)): в AutomationTool.Automation.Process(String] Arguments) UATHelper: Packaging (Android (All)): в AutomationTool.Program.MainProc(Object Param) UATHelper: Packaging (Android (All)): в AutomationTool.InternalUtils.RunSingleInstance(Func2 Main, Object Param)
UATHelper: Packaging (Android (All)): в AutomationTool.Program.Main()
UATHelper: Packaging (Android (All)): Program.Main: AutomationTool exiting with ExitCode=5 (5)
UATHelper: Packaging (Android (All)): BUILD FAILED
PackagingResults:Error: Error Unknown Error

I am not sure but i think the problem can be your sdk installed D disk.

UnrealBuildTool: UnrealBuildTool Exception: ERROR: D:/NDK/NVPACK/android-ndk-r12b/ndk-build.cmd failed with args APP_ABI="armeabi-v7a " NDK_DEBUG=1
ERROR: Attempted to use UEBuildBinaryConfiguration.OutputFilePath property, but there are multiple (or no) OutputFilePaths. You need to handle multiple in the code that called this (size = 2)

i hope this helps.

Hi I am getting the same error can you please
Explain in detail.I am using blueprint only project.

Here is my post in answerhub.I need your help.

https://answers.unrealengine.com/questions/516902/android-launchpackage-fail.html

Thanks in advance

Anyone have any luck with this? Experiencing it in UE4.21. The link above doesn’t seem to help as I have the error even when distribution settings are off.