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"

Unable to launch nor pack Android (ASTC)

Hi,

I've tried launching ue4 project to Nokia 3 (it compiles to Android ASTC) and it just crashed immediately. So I tried to package it instead, but it gives me the following error:

 UATHelper: Packaging (Android (ASTC)):   LogTargetPlatformManager: Display: Building Assets For Android_ASTC
 UATHelper: Packaging (Android (ASTC)):   LogGameplayTags: Display: UGameplayTagsManager::DoneAddingNativeTags. DelegateIsBound: 0
 UATHelper: Packaging (Android (ASTC)):   LogCook: Display: Max memory allowance for cook 16384mb min free memory 0mb
 UATHelper: Packaging (Android (ASTC)):   LogCook: Display: Mobile HDR setting 1
 UATHelper: Packaging (Android (ASTC)):   LogCook: Display: Creating asset registry
 UATHelper: Packaging (Android (ASTC)):   LogCook: Display: Cooked content cleared for platform Android_ASTC
 UATHelper: Packaging (Android (ASTC)):   LogCook: Display: Unable to read previous cook inisettings for platform Android_ASTC invalidating cook
 UATHelper: Packaging (Android (ASTC)):   LogCook: Display: Sandbox cleanup took 0.084 seconds for platforms Android_ASTC  iterative false
 UATHelper: Packaging (Android (ASTC)):   LogUObjectHash: Warning: Ambiguous search, could be FloatProperty /Script/Engine.KismetMathLibrary:HSVToRGB.H or FloatProperty /Script/Engine.KismetMathLibrary:RGBToHSV.H
 ...
 (same repeated texts)
 ...
 UATHelper: Packaging (Android (ASTC)):   LogUObjectHash: Warning: Ambiguous search, could be FloatProperty /Script/Engine.KismetMathLibrary:HSVToRGB.H or FloatProperty /Script/Engine.KismetMathLibrary:RGBToHSV.H
 UATHelper: Packaging (Android (ASTC)):   LogCook: Display: Cooking /Engine/Tutorial/Foliage/Foliage_Intro_Tutorial -> H:/Workspace/Unreal Projects/MyProject3/Saved/Cooked/Android_ASTC/Engine/Content/Tutorial/Foliage/Foliage_Intro_Tutorial.uasset
 UATHelper: Packaging (Android (ASTC)):   LogTexture: Display: Building textures: WhiteSquareTexture (ASTC_RGBAuto, 32X32)
 UATHelper: Packaging (Android (ASTC)):   LogSavePackage: Display: No exports found (or all exports are editor-only) for Foliage_Intro_Tutorial. Package will not be saved.
 UATHelper: Packaging (Android (ASTC)): Took 26.5440086s to run UE4Editor-Cmd.exe, ExitCode=-1073741795
 UATHelper: Packaging (Android (ASTC)): Cook failed. Deleting cooked data.
 UATHelper: Packaging (Android (ASTC)): ERROR: Cook failed.
 UATHelper: Packaging (Android (ASTC)):        (see E:\Epic Games\UnrealEngine\Engine\Programs\AutomationTool\Saved\Logs\UAT_Log.txt for full exception trace)
 UATHelper: Packaging (Android (ASTC)): AutomationTool exiting with ExitCode=25 (Error_UnknownCookFailure)
 UATHelper: Packaging (Android (ASTC)): BUILD FAILED
 PackagingResults: Error: Unknown Cook Failure

Full log click here.

UPDATE: This works just fine when not using the non-source code one.

Other packages are fine, such as ETC1 or when launching to a Samsung Galaxy Note 2.

OS: Windows 10
UE4: Source branch 4.18, version 4.18.1, last fetch 10 Nov 2017
Spec: AMD FX 8320 8-core 3.5 Ghz, 8 GB RAM, and Radeon R9 270x
Device test: Nokia 3 (Android Nougat 7.0 and 7.1.1)

How to reproduce:

  1. Build UE4 from source

  2. Create new C++ project basic code for mobile, maximum quality, with starter content

  3. Build and launch the project, set android target to 21 (lolipop)

  4. Launch to Nokia 3 (it should compile for Android ASTC, so I'm assuming any device that compiles to Android ASTC) or

  5. Package to Android ASTC with Development Build Configuration

Make sure Android works of respective version from source is installed.
Due to lack of other devices, my assumption is it will crash when launching other Android device that uses ASTC.




Cheers,

Alectora

Product Version: UE 4.18
Tags:
more ▼

asked Nov 11 '17 at 02:06 AM in Packaging & Deployment

avatar image

Arly.Rampen
45 2 7 9

avatar image brunogbrito Nov 16 '17 at 07:17 PM

Can you share the UAT_Log.txt ?

"E:\Epic Games\UnrealEngine\Engine\Programs\AutomationTool\Saved\Logs\UAT_Log.txt "

avatar image Arly.Rampen Nov 16 '17 at 11:17 PM

Hi brunogbrito, this is my UAT_Log.txt

avatar image MRVRMAN Jan 24 '18 at 03:26 PM

hey guys I have the same issue my android UE4 project is not creating the apk I get this error

Execution of commandlet took: 38.22 seconds UATHelper: Packaging (Android (ASTC)): Took 55.1600769s to run UE4Editor-Cmd.exe, ExitCode=1 UATHelper: Packaging (Android (ASTC)): Cook failed. Deleting cooked data. UATHelper: Packaging (Android

(ASTC)): ERROR: Cook failed.

UATHelper: Packaging (Android (ASTC)): (see C:\Users\cvega.BI\AppData\Roaming\Unreal Engine\AutomationTool\Logs\C+Program+Files+(x86)+Epic+Games+UE_4.18\UAT_Log.txt for full exception trace) UATHelper: Packaging (Android (ASTC)): AutomationTool exiting with ExitCode=25 (Error_UnknownCookFailure) UATHelper: Packaging (Android (ASTC)): BUILD FAILED PackagingResults: Error: Unknown Cook Failure

avatar image MechanizedIT Apr 27 '18 at 04:18 AM

I get the same error.

(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