Description

Found on: 4.15 Binary CL-3247232

Unable to package for android when Configure for deployment to Daydream is selected.
(Packaging without it enabled succeeds even with the same other settings, but currently crashes on launch and tries to use cardboard; see [Link Removed]).

UATHelper: Packaging (Android (ATC)): [mergemanifest] Manifest merger disabled. Using project manifest only.
UATHelper: Packaging (Android (ATC)):      [echo] Handling aidl files...
UATHelper: Packaging (Android (ATC)):      [aidl] Found 3 AIDL files.
UATHelper: Packaging (Android (ATC)):      [aidl] Compiling 3 AIDL files.
UATHelper: Packaging (Android (ATC)):      [echo] ----------
UATHelper: Packaging (Android (ATC)):      [echo] Handling RenderScript files...
UATHelper: Packaging (Android (ATC)):      [echo] ----------
UATHelper: Packaging (Android (ATC)):      [echo] Handling Resources...
UATHelper: Packaging (Android (ATC)):      [aapt] Generating resource IDs...
UATHelper: Packaging (Android (ATC)):      [aapt] C:\Users\patrickr.donovan\Documents\Unreal Projects\DDConfig_0105\Intermediate\Android\APK\bin\AndroidManifest.xml:4: error: No resource identifier found for attribute 'enableVrMode' in package 'android'
UATHelper: Packaging (Android (ATC)):      [aapt] 
UATHelper: Packaging (Android (ATC)):      [aapt] C:\Users\patrickr.donovan\Documents\Unreal Projects\DDConfig_0105\Intermediate\Android\APK\bin\AndroidManifest.xml:4: error: No resource identifier found for attribute 'resizeableActivity' in package 'android'
UATHelper: Packaging (Android (ATC)):      [aapt] 
UATHelper: Packaging (Android (ATC)): BUILD FAILED
UATHelper: Packaging (Android (ATC)): C:\NVPACK\android-sdk-windows\tools\ant\build.xml:649: The following error occurred while executing this line:
UATHelper: Packaging (Android (ATC)): C:\NVPACK\android-sdk-windows\tools\ant\build.xml:694: null returned: 1
UATHelper: Packaging (Android (ATC)): Total time: 22 seconds
UATHelper: Packaging (Android (ATC)): Program.Main: ERROR: AutomationTool terminated with exception: System.IO.FileNotFoundException: Could not find file 'C:\Users\patrickr.donovan\Documents\Unreal Projects\DDConfig_0105\Intermediate/Android/APK/bin/DDConfig_0105-debug.apk'.
UATHelper: Packaging (Android (ATC)): File name: 'C:\Users\patrickr.donovan\Documents\Unreal Projects\DDConfig_0105\Intermediate/Android/APK/bin/DDConfig_0105-debug.apk'
UATHelper: Packaging (Android (ATC)):    at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)
UATHelper: Packaging (Android (ATC)):    at System.IO.File.InternalCopy(String sourceFileName, String destFileName, Boolean overwrite, Boolean checkHost)
UATHelper: Packaging (Android (ATC)):    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 bDisallowExter
nalFilesDir)
UATHelper: Packaging (Android (ATC)):    at UnrealBuildTool.UEDeployAndroid.PrepForUATPackageOrDeploy(FileReference ProjectFile, String ProjectName, String ProjectDirectory, String ExecutablePath, String EngineDirectory, Boolean bForDistribution, String CookFlavor, Boolean bIsDataDeploy)
UATHelper: Packaging (Android (ATC)):    at AndroidPlatform.Package(ProjectParams Params, DeploymentContext SC, Int32 WorkingCL)
UATHelper: Packaging (Android (ATC)):    at Project.Package(ProjectParams Params, Int32 WorkingCL)
UATHelper: Packaging (Android (ATC)):    at BuildCookRun.DoBuildCookRun(ProjectParams Params)
UATHelper: Packaging (Android (ATC)):    at BuildCookRun.ExecuteBuild()
UATHelper: Packaging (Android (ATC)):    at AutomationTool.BuildCommand.Execute()
UATHelper: Packaging (Android (ATC)):    at AutomationTool.Automation.Execute(List`1 CommandsToExecute, CaselessDictionary`1 Commands)
UATHelper: Packaging (Android (ATC)):    at AutomationTool.Automation.Process(String[] Arguments)
UATHelper: Packaging (Android (ATC)):    at AutomationTool.Program.MainProc(Object Param)
UATHelper: Packaging (Android (ATC)):    at AutomationTool.InternalUtils.RunSingleInstance(Func`2 Main, Object Param)
UATHelper: Packaging (Android (ATC)):    at AutomationTool.Program.Main()
UATHelper: Packaging (Android (ATC)): Program.Main: AutomationTool exiting with ExitCode=1 (Error_Unknown)
UATHelper: Packaging (Android (ATC)): BUILD FAILED
Steps to Reproduce
  1. Open UE4Editor.exe
  2. Create a new first person blueprint project
  3. Edit > Plugins > Enable Google VR plugin
    1. Mobile/Tablet
    2. Scalable 2D/3D
    3. No Starter Content
  4. Edit > Project Settings
  5. Platforms - Android:
    1. click Configure Now
    2. Minimum SDK Version = 21
    3. Target SDK Version = 21
    4. Support arm64 = enabled
    5. Configure for deployment to Daydream = Enabled
  6. File > Package > Android > ATC
  7. Select destination directory

Result: Starts packaging, fails to build

Have Comments or More Details?

There's no existing public thread on this issue, so head over to Questions & Answers just mention UE-40272 in the post.

1
Login to Vote

By Design
ComponentUE - Platform - Mobile
Affects Versions4.15
Target Fix4.15
CreatedJan 5, 2017
ResolvedJan 6, 2017
UpdatedSep 16, 2019
View Jira Issue