x

Search in
Sort by:

Question Status:

Search help

  • Simple searches use one or more words. Separate the words with spaces (cat dog) to search cat,dog or both. Separate the words with plus signs (cat +dog) to search for items that may contain cat but must contain dog.
  • You can further refine your search on the search results page, where you can search by keywords, author, topic. These can be combined with each other. Examples
    • cat dog --matches anything with cat,dog or both
    • cat +dog --searches for cat +dog where dog is a mandatory term
    • cat -dog -- searches for cat excluding any result containing dog
    • [cats] —will restrict your search to results with topic named "cats"
    • [cats] [dogs] —will restrict your search to results with both topics, "cats", and "dogs"

PackagingResultsError: Error Launch failed! Unknown Error

I googled this problem, but all the solutions don't work. I setted up UE4 for Android deployment, and now my UE4 recognize my android device, but when deploying it throws this error.


LogPlayLevel: Launcher Device ID: Android_ETC1@QLF7N16714007891 LogPlayLevel: PlayLevel: No blueprints needed recompiling LogCook:Display: Verify cooked packages: Packages considered for dependency checks: 370, Packages failed dependency checks 0, Found redirectors: 5, Packages Kept: 370, Packages Missing: 0, Packages Deleted: 0 LogCook:Display: Sandbox cleanup took 2.588 seconds for platforms AllDesktop MacClient MacNoEditor MacServer Mac WindowsClient WindowsNoEditor WindowsServer Windows Android Android_ASTC Android_ATC Android_DXT Android_ETC1 Android_ETC2 Android_Multi Android_PVRTC HTML5 IOS TVOS LinuxClient LinuxNoEditor LinuxServer Linux iterative true LogRedirectors:Display: Timer ResolveTimeLoad 0.678558 LogRedirectors:Display: Timer ResolveTimeDelegate 0.000000 LogRedirectors:Display: Timer ResolveTimeTotal 0.685624 LogBlueprintCodeGen:Display: Nativization Summary - AnimBP: LogBlueprintCodeGen:Display: Name, Children, Non-empty Functions (Empty Functions), Variables, FunctionUsage, VariableUsage LogBlueprintCodeGen:Display: Nativization Summary - Shared Variables From Graph: 0 LogBlueprintCodeGen: GenerateStubs - all unconverted bp: 0, generated wrapers: 0 LogChunkManifestGenerator: Starting FixupPackageDependenciesForChunks... LogChunkManifestGenerator: Updated collection PackagesRemovedFromChunk0 LogChunkManifestGenerator: Chunk: 0, Started with 539 packages, Final after dependency resolve: 539 LogStats: ... FixupPackageDependenciesForChunks complete. - 0.002 s LogChunkManifestGenerator:Display: Saving asset registry. LogChunkManifestGenerator:Display: Generated asset registry num assets 400, size is 177.88kb LogChunkManifestGenerator:Display: Done saving asset registry. LogCook:Display: Cook by the book total time in tick 0.000019s total time 4.714849 LogCook:Display: Peak Used virtual 1458 Peak Used phsical 1551 LogCook:Display: Hierarchy timer information Name: Length(ms)Root: 0.000000ms CleanSandboxTime: 2587.978411ms StartupPackagesResolveStringAssetReferences: 319.609672ms GenerateLongPackageName: 0.132136ms SavingAssetRegistry: 366.153464ms IntStats SavedPackage=393 LoadPackage=16 LogPlayLevel: Completed Launch On Stage: Cooking in the editor, Time: 0.000071 LogPlayLevel: Running AutomationTool... LogPlayLevel: Automation.ParseCommandLine: Parsing command line: -ScriptsForProject=C:/Users/king/Desktop/carPhysicsTest/carPhysicsTest/carPhysicsTest.uproject BuildCookRun -project=C:/Users/king/Desktop/carPhysicsTest/carPhysicsTest/carPhysicsTest.uproject -noP4 -clientconfig=Development -serverconfig=Development -nocompile -nocompileeditor -installed -ue4e xe=UE4Editor-Cmd.exe -utf8output -platform=Android_ETC1 -targetplatform=Android -cookflavor=ETC1 -map=/Game/MainLevel -skipcook -CookInEditor -iterativecooking -compressed -iterativedeploy -stage -deploy -cmdline="/Game/MainLevel -Messaging" -device=Android_ETC1@QLF7N16714007891 -addcmdline="-SessionId=7E3A894048F08F1C2C53F5B11176BC83 -SessionOwner='abdelila h' -SessionName='Launch On Device' " -run LogPlayLevel: Automation.Process: Setting up command environment. LogPlayLevel: BuildCookRun.SetupParams: Setting up ProjectParams for C:\Users\king\Desktop\carPhysicsTest\carPhysicsTest\carPhysicsTest.uproject LogPlayLevel: Project.CopyBuildToStagingDirectory: STAGE COMMAND STARTED LogPlayLevel: Project.WriteStageCommandline: Creating UE4CommandLine.txt LogPlayLevel: Completed Launch On Stage: Build Task, Time: 1.253835 LogPlayLevel: Project.CreateStagingManifest: Creating Staging Manifest... LogPlayLevel: Project.CleanStagingDirectory: Cleaning Stage Directory: C:\Users\king\Desktop\carPhysicsTest\carPhysicsTest\Saved\StagedBuilds\Android_ETC1 LogPlayLevel: Project.CopyManifestFilesToStageDir: Copying NonUFSFiles to staging directory: C:\Users\king\Desktop\carPhysicsTest\carPhysicsTest\Saved\StagedBuilds\Android_ETC1 LogPlayLevel: Project.CopyManifestFilesToStageDir: Copying DebugFiles to staging directory: C:\Users\king\Desktop\carPhysicsTest\carPhysicsTest\Saved\StagedBuilds\Android_ETC1 LogPlayLevel: Project.CopyManifestFilesToStageDir: Copying UFSFiles to staging directory: C:\Users\king\Desktop\carPhysicsTest\carPhysicsTest\Saved\StagedBuilds\Android_ETC1 LogPlayLevel: CommandUtils.Run: Run: C:\NVPACK\android-sdk-windows\platform-tools\adb.exe -s QLF7N16714007891 shell "echo $EXTERNAL_STORAGE" LogPlayLevel: CommandUtils.Run: Run: Took 0,0610415s to run adb.exe, ExitCode=0 LogPlayLevel: CommandUtils.Run: Run: C:\NVPACK\android-sdk-windows\platform-tools\adb.exe -s QLF7N16714007891 pull /sdcard/UE4Game/carPhysicsTest/Manifest_UFSFiles_Android.txt "C:\Users\king\Desktop\carPhysicsTest\carPhysicsTest\Saved\StagedBuilds\Android_ETC1\Manifest_UFSFiles_Android.txt_QLF7N16714007891" LogPlayLevel: CommandUtils.Run: Run: Took 0,0320213s to run adb.exe, ExitCode=1 LogPlayLevel: Project.CopyBuildToStagingDirectory: STAGE COMMAND COMPLETED LogPlayLevel: Project.Package: PACKAGE COMMAND STARTED LogPlayLevel: Project.Package: PACKAGE COMMAND COMPLETED LogPlayLevel: Project.Deploy: DEPLOY COMMAND STARTED LogPlayLevel: CommandUtils.Run: Run: C:\NVPACK\android-sdk-windows\platform-tools\adb.exe -s QLF7N16714007891 shell getprop ro.product.cpu.abi LogPlayLevel: CommandUtils.Run: Run: Took 0,074048s to run adb.exe, ExitCode=0 LogPlayLevel: CommandUtils.Run: Run: C:\NVPACK\android-sdk-windows\platform-tools\adb.exe -s QLF7N16714007891 shell dumpsys SurfaceFlinger LogPlayLevel: CommandUtils.Run: Run: Took 0,0790509s to run adb.exe, ExitCode=0 LogPlayLevel: AndroidPlatform.CollectPluginDataPaths: AndroidPlugin: Plugins\Runtime\GearVR\Source\GearVR\GearVR_APL.xml LogPlayLevel: UnrealPluginLanguage..ctor: LogPlayLevel: UPL: Engine\Plugins/Runtime/GearVR/Source/GearVR/GearVR_APL.xml LogPlayLevel: UEDeployAndroid.MakeApk: LogPlayLevel: ====16/02/2018 23:17:22====PREPARING TO MAKE APK================================================================= LogPlayLevel: UEDeployAndroid.WriteJavaDownloadSupportFiles: LogPlayLevel: ==== Writing to shim file C:\Users\king\Desktop\carPhysicsTest\carPhysicsTest\Build\Android\src\com\epicgames\ue4\DownloadShim.java ==== LogPlayLevel: UEDeployAndroid.WriteJavaDownloadSupportFiles: LogPlayLevel: ==== Shim data file up to date so not writing. ==== LogPlayLevel: UEDeployAndroid.WriteJavaDownloadSupportFiles: LogPlayLevel: ==== Writing to template target file C:\Users\king\Desktop\carPhysicsTest\carPhysicsTest\Build\Android\src\com\YourCompany\carPhysicsTest\AlarmReceiver.java ==== LogPlayLevel: UEDeployAndroid.WriteJavaDownloadSupportFiles: LogPlayLevel: ==== Template target file up to date so not writing. ==== LogPlayLevel: UEDeployAndroid.WriteJavaDownloadSupportFiles: LogPlayLevel: ==== Writing to template target file C:\Users\king\Desktop\carPhysicsTest\carPhysicsTest\Build\Android\src\com\YourCompany\carPhysicsTest\DownloaderActivity.java ==== LogPlayLevel: UEDeployAndroid.WriteJavaDownloadSupportFiles: LogPlayLevel: ==== Template target file up to date so not writing. ==== LogPlayLevel: UEDeployAndroid.WriteJavaDownloadSupportFiles: LogPlayLevel: ==== Writing to template target file C:\Users\king\Desktop\carPhysicsTest\carPhysicsTest\Build\Android\src\com\YourCompany\carPhysicsTest\OBBDownloaderService.java ==== LogPlayLevel: UEDeployAndroid.WriteJavaDownloadSupportFiles: LogPlayLevel: ==== Template target file up to date so not writing. ==== LogPlayLevel: UEDeployAndroid.MakeApk: Cleaning up files based on template dir C:\Users\king\Desktop\carPhysicsTest\carPhysicsTest\Build\Android\src\com\YourCompany\carPhysicsTest LogPlayLevel: Building Java with SDK API level 'android-19' LogPlayLevel: UEDeployAndroid.CheckDependencies: C:\Users\king\Desktop\carPhysicsTest\carPhysicsTest\Binaries\Android\carPhysicsTest-armv7-es2.apk is out of date due to newer input file A:\WINDOWS stufs\Programation abdelilah\ue4.15\UE_4.15\Engine\Binaries\Android\UE4Game-armv7-es2.so LogPlayLevel: UnrealPluginLanguage.Init: UPL Init: armeabi-v7a LogPlayLevel: UnrealPluginLanguage.ProcessPluginNode: GearVR init LogPlayLevel: UnrealPluginLanguage.ProcessPluginNode: Oculus Signature Files (osig) will be removed from APK LogPlayLevel: UEDeployAndroid.RequiresOBB: APK contains data. LogPlayLevel: UEDeployAndroid.MakeApk: Performing complete package - wiping C:\Users\king\Desktop\carPhysicsTest\carPhysicsTest\Intermediate/Android/APK, except for predexedLibs LogPlayLevel: UEDeployAndroid.MakeApk: bPackageDataInsideApk = False LogPlayLevel: AndroidAARHandler.AddRepositories: Added repository: C:\NVPACK\android-sdk-windows\extras\android\m2repository LogPlayLevel: AndroidAARHandler.AddRepositories: Added repository: A:\WINDOWS stufs\Programation abdelilah\ue4.15\UE_4.15\Engine\Source\ThirdParty\Android\extras\google\m2repository LogPlayLevel: AndroidAARHandler.AddRepositories: Added repository: A:\WINDOWS stufs\Programation abdelilah\ue4.15\UE_4.15\Engine\Source\ThirdParty\Android\extras\android\m2repository LogPlayLevel: UEDeployAndroid.ExtractAARAndJARFiles: AARImports: com.google.android.gms, play-services-ads, 9.2.0 LogPlayLevel: UEDeployAndroid.ExtractAARAndJARFiles: AARImports: com.google.android.gms, play-services-auth, 9.2.0 LogPlayLevel: UEDeployAndroid.ExtractAARAndJARFiles: AARImports: com.google.android.gms, play-services-games, 9.2.0 LogPlayLevel: UEDeployAndroid.ExtractAARAndJARFiles: AARImports: com.google.android.gms, play-services-nearby, 9.2.0 LogPlayLevel: UEDeployAndroid.ExtractAARAndJARFiles: AARImports: com.google.android.gms, play-services-plus, 9.2.0 LogPlayLevel: AndroidAARHandler.ExtractAARs: Extracting AAR play-services-ads-9.2.0 LogPlayLevel: AndroidAARHandler.ExtractAARs: Extracting AAR play-services-ads-lite-9.2.0 LogPlayLevel: AndroidAARHandler.ExtractAARs: Extracting AAR play-services-basement-9.2.0 LogPlayLevel: AndroidAARHandler.ExtractAARs: Extracting AAR support-v4-23.0.0 LogPlayLevel: AndroidAARHandler.UnzipFiles: Changed FileName libs/internal_impl-23.0.0.jar => C:\Users\king\Desktop\carPhysicsTest\carPhysicsTest\Intermediate\Android\APK\JavaLibs\support-v4-23.0.0\libs\support-v4-23.0.0-internal_impl-23.0.0..jar LogPlayLevel: AndroidAARHandler.ExtractAARs: Extracting AAR play-services-base-9.2.0 LogPlayLevel: AndroidAARHandler.ExtractAARs: Extracting AAR play-services-tasks-9.2.0 LogPlayLevel: AndroidAARHandler.ExtractAARs: Extracting AAR play-services-clearcut-9.2.0 LogPlayLevel: AndroidAARHandler.ExtractAARs: Extracting AAR play-services-gass-9.2.0 LogPlayLevel: AndroidAARHandler.ExtractAARs: Extracting AAR play-services-auth-9.2.0 LogPlayLevel: AndroidAARHandler.ExtractAARs: Extracting AAR play-services-auth-base-9.2.0 LogPlayLevel: AndroidAARHandler.ExtractAARs: Extracting AAR play-services-games-9.2.0 LogPlayLevel: AndroidAARHandler.ExtractAARs: Extracting AAR play-services-drive-9.2.0 LogPlayLevel: AndroidAARHandler.ExtractAARs: Extracting AAR play-services-nearby-9.2.0 LogPlayLevel: AndroidAARHandler.ExtractAARs: Extracting AAR play-services-plus-9.2.0 LogPlayLevel: AndroidAARHandler.CopyJARs: Copying JAR support-annotations-23.0.0.jar LogPlayLevel: UEDeployAndroid.MakeApk: LogPlayLevel: ====16/02/2018 23:17:27====PREPARING NATIVE CODE================================================================= LogPlayLevel: UEDeployAndroid.RequiresOBB: APK contains data. LogPlayLevel: UEDeployAndroid.UpdateProjectProperties: LogPlayLevel: ====16/02/2018 23:17:27====UPDATING BUILD CONFIGURATION FILES==================================================== LogPlayLevel: Error: Target id 'android-19' is not valid. Use 'android.bat list targets' to get the target ids. LogPlayLevel: UEDeployAndroid.RunCommandLineProgramWithException: Updating project.properties, local.properties, and build.xml for downloader_library... LogPlayLevel: Error: Target id 'android-19' is not valid. Use 'android.bat list targets' to get the target ids. LogPlayLevel: Error: Target id 'android-19' is not valid. Use 'android.bat list targets' to get the target ids. LogPlayLevel: UEDeployAndroid.RunCommandLineProgramWithException: Updating project.properties, local.properties, and build.xml for play-services-ads-9.2.0... LogPlayLevel: Error: Target id 'android-19' is not valid. Use 'android.bat list targets' to get the target ids. LogPlayLevel: Error: Target id 'android-19' is not valid. Use 'android.bat list targets' to get the target ids. LogPlayLevel: UEDeployAndroid.RunCommandLineProgramWithException: Updating project.properties, local.properties, and build.xml for play-services-ads-lite-9.2.0... LogPlayLevel: Error: Target id 'android-19' is not valid. Use 'android.bat list targets' to get the target ids. LogPlayLevel: Error: Target id 'android-19' is not valid. Use 'android.bat list targets' to get the target ids. LogPlayLevel: UEDeployAndroid.RunCommandLineProgramWithException: Updating project.properties, local.properties, and build.xml for play-services-auth-9.2.0... LogPlayLevel: Error: Target id 'android-19' is not valid. Use 'android.bat list targets' to get the target ids. LogPlayLevel: Error: Target id 'android-19' is not valid. Use 'android.bat list targets' to get the target ids. LogPlayLevel: UEDeployAndroid.RunCommandLineProgramWithException: Updating project.properties, local.properties, and build.xml for play-services-auth-base-9.2.0... LogPlayLevel: Error: Target id 'android-19' is not valid. Use 'android.bat list targets' to get the target ids. LogPlayLevel: Error: Target id 'android-19' is not valid. Use 'android.bat list targets' to get the target ids. LogPlayLevel: UEDeployAndroid.RunCommandLineProgramWithException: Updating project.properties, local.properties, and build.xml for play-services-base-9.2.0... LogPlayLevel: Error: Target id 'android-19' is not valid. Use 'android.bat list targets' to get the target ids. LogPlayLevel: Error: Target id 'android-19' is not valid. Use 'android.bat list targets' to get the target ids. LogPlayLevel: UEDeployAndroid.RunCommandLineProgramWithException: Updating project.properties, local.properties, and build.xml for play-services-basement-9.2.0... LogPlayLevel: Error: Target id 'android-19' is not valid. Use 'android.bat list targets' to get the target ids. LogPlayLevel: Error: Target id 'android-19' is not valid. Use 'android.bat list targets' to get the target ids. LogPlayLevel: UEDeployAndroid.RunCommandLineProgramWithException: Updating project.properties, local.properties, and build.xml for play-services-clearcut-9.2.0... LogPlayLevel: Error: Target id 'android-19' is not valid. Use 'android.bat list targets' to get the target ids. LogPlayLevel: Error: Target id 'android-19' is not valid. Use 'android.bat list targets' to get the target ids. LogPlayLevel: UEDeployAndroid.RunCommandLineProgramWithException: Updating project.properties, local.properties, and build.xml for play-services-drive-9.2.0... LogPlayLevel: Error: Target id 'android-19' is not valid. Use 'android.bat list targets' to get the target ids. LogPlayLevel: Error: Target id 'android-19' is not valid. Use 'android.bat list targets' to get the target ids. LogPlayLevel: UEDeployAndroid.RunCommandLineProgramWithException: Updating project.properties, local.properties, and build.xml for play-services-games-9.2.0... LogPlayLevel: Error: Target id 'android-19' is not valid. Use 'android.bat list targets' to get the target ids. LogPlayLevel: Error: Target id 'android-19' is not valid. Use 'android.bat list targets' to get the target ids. LogPlayLevel: UEDeployAndroid.RunCommandLineProgramWithException: Updating project.properties, local.properties, and build.xml for play-services-gass-9.2.0... LogPlayLevel: Error: Target id 'android-19' is not valid. Use 'android.bat list targets' to get the target ids. LogPlayLevel: Error: Target id 'android-19' is not valid. Use 'android.bat list targets' to get the target ids. LogPlayLevel: UEDeployAndroid.RunCommandLineProgramWithException: Updating project.properties, local.properties, and build.xml for play-services-nearby-9.2.0... LogPlayLevel: Error: Target id 'android-19' is not valid. Use 'android.bat list targets' to get the target ids. LogPlayLevel: Error: Target id 'android-19' is not valid. Use 'android.bat list targets' to get the target ids. LogPlayLevel: UEDeployAndroid.RunCommandLineProgramWithException: Updating project.properties, local.properties, and build.xml for play-services-plus-9.2.0... LogPlayLevel: Error: Target id 'android-19' is not valid. Use 'android.bat list targets' to get the target ids. LogPlayLevel: Error: Target id 'android-19' is not valid. Use 'android.bat list targets' to get the target ids. LogPlayLevel: UEDeployAndroid.RunCommandLineProgramWithException: Updating project.properties, local.properties, and build.xml for play-services-tasks-9.2.0... LogPlayLevel: Error: Target id 'android-19' is not valid. Use 'android.bat list targets' to get the target ids. LogPlayLevel: Error: Target id 'android-19' is not valid. Use 'android.bat list targets' to get the target ids. LogPlayLevel: UEDeployAndroid.RunCommandLineProgramWithException: Updating project.properties, local.properties, and build.xml for support-v4-23.0.0... LogPlayLevel: Error: Target id 'android-19' is not valid. Use 'android.bat list targets' to get the target ids. LogPlayLevel: Program.Main: ERROR: AutomationTool terminated with exception: System.IO.FileNotFoundException: Could not find file 'C:\Users\king\Desktop\carPhysicsTest\carPhysicsTest\Intermediate\Android\APK\build.xml'. LogPlayLevel: File name: 'C:\Users\king\Desktop\carPhysicsTest\carPhysicsTest\Intermediate\Android\APK\build.xml' LogPlayLevel: at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath) LogPlayLevel: at 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) LogPlayLevel: at System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share, Int32 bufferSize, FileOptions options, String msgPath, Boolean bFromProxy, Boolean useLongPath, Boolean checkHost) LogPlayLevel: at System.IO.StreamReader..ctor(String path, Encoding encoding, Boolean detectEncodingFromByteOrderMarks, Int32 bufferSize, Boolean checkHost) LogPlayLevel: at System.IO.StreamReader..ctor(String path, Encoding encoding) LogPlayLevel: at System.IO.File.InternalReadAllLines(String path, Encoding encoding) LogPlayLevel: at UnrealBuildTool.UEDeployAndroid.UpdateBuildXML(String UE4Arch, String NDKArch, String EngineDir, String UE4BuildPath) LogPlayLevel: at UnrealBuildTool.UEDeployAndroid.MakeApk(AndroidToolChain ToolChain, String ProjectName, String ProjectDirectory, String OutputPath, String EngineDirectory, Boolean bForDistribution, String CookFlavor, Boolean bMakeSeparateApks, Boolean bIncrementalPackage, Boolean bDisallowPackagingDataInApk, Boolean bDisallowExternalFilesDir) LogPlayLevel: at UnrealBuildTool.UEDeployAndroid.PrepForUATPackageOrDeploy(FileReference ProjectFile, String ProjectName, String ProjectDirectory, String ExecutablePath, String EngineDirectory, Boolean bForDistribution, String CookFlavor, Boolean bIsDataDeploy) LogPlayLevel: at AndroidPlatform.Deploy(ProjectParams Params, DeploymentContext SC) LogPlayLevel: at Project.Deploy(ProjectParams Params) LogPlayLevel: at BuildCookRun.DoBuildCookRun(ProjectParams Params) LogPlayLevel: at BuildCookRun.ExecuteBuild() LogPlayLevel: at AutomationTool.BuildCommand.Execute() LogPlayLevel: at AutomationTool.Automation.Execute(List`1 CommandsToExecute, CaselessDictionary`1 Commands) LogPlayLevel: at AutomationTool.Automation.Process(String[] Arguments) LogPlayLevel: at AutomationTool.Program.MainProc(Object Param) LogPlayLevel: at AutomationTool.InternalUtils.RunSingleInstance(Func`2 Main, Object Param) LogPlayLevel: at AutomationTool.Program.Main() LogPlayLevel: Program.Main: AutomationTool exiting with ExitCode=1 (Error_Unknown) LogPlayLevel: Completed Launch On Stage: Deploy Task, Time: 50.818947 LogPlayLevel: BUILD FAILED PackagingResults:Error: Error Launch failed! Unknown Error

Product Version: UE 4.15
Tags:
more ▼

asked Feb 16 '18 at 11:24 PM in Packaging & Deployment

avatar image

abdelilah
1 1 1

(comments are locked)
10|2000 characters needed characters left
Viewable by all users

0 answers: sort voted first
Be the first one to answer this question
toggle preview:

Up to 5 attachments (including images) can be used with a maximum of 5.2 MB each and 5.2 MB total.

Follow this question

Once you sign in you will be able to subscribe for any updates here

Answers to this question