Skip to content

[UE 4.20.2] Cannot export to Android #32

Description

@kelteseth
  • Windows 10 x64
  • Unreal Engine 4.20.2 MSVC 2017
  • Android NDK & SDK 22
  • 1.2.05 example project

Testing under Windows works fine but when I try to export the project for android it crashes:
I tried with a empty UE project to verify that US Android is properly configured and it worked without errors.

UATHelper: Packaging (Android (ATC)):   Libraries - dynamic:
UATHelper: Packaging (Android (ATC)):   Android modification: E:\Projects\UnrealEngine\AugmentedUnrealityEx\Plugins\AugmentedUnreality\Source\AugmentedUnreality\AugmentedUnrealityAndroid_UPL.xml
UATHelper: Packaging (Android (ATC)):   Compiling Native code with NDK API 'android-22'
UATHelper: Packaging (Android (ATC)):   Building 3 actions with 16 processes...
UATHelper: Packaging (Android (ATC)):     [1/3] Module.AugmentedUnreality.cpp [armv7-es2]
UATHelper: Packaging (Android (ATC)):     error: exception handling was disabled in PCH file but is currently enabled
UATHelper: Packaging (Android (ATC)):     1 error generated.
UATHelper: Packaging (Android (ATC)):     [2/3] Module.AugmentedUnreality.gen.cpp [armv7-es2]
UATHelper: Packaging (Android (ATC)):     error: exception handling was disabled in PCH file but is currently enabled
UATHelper: Packaging (Android (ATC)):     1 error generated.
UATHelper: Packaging (Android (ATC)):   ERROR: UBT ERROR: Failed to produce item: E:\Projects\UnrealEngine\AugmentedUnrealityEx\Binaries\Android\AugmentedUnrealityEx-armv7-es2.so
UATHelper: Packaging (Android (ATC)):          (see C:\Users\Eli\AppData\Roaming\Unreal Engine\AutomationTool\Logs\E+Apps+Unreal+Engine+UE_4.20\UBT-AugmentedUnrealityEx-Android-Development_2.txt for full exception trace)
PackagingResults: Error: exception handling was disabled in PCH file but is currently enabled
PackagingResults: Error: exception handling was disabled in PCH file but is currently enabled
PackagingResults: Error: UBT ERROR: Failed to produce item: E:\Projects\UnrealEngine\AugmentedUnrealityEx\Binaries\Android\AugmentedUnrealityEx-armv7-es2.so
UATHelper: Packaging (Android (ATC)):   Total build time: 3,12 seconds (Parallel executor: 0,00 seconds)
UATHelper: Packaging (Android (ATC)): Took 3,4121057s to run UnrealBuildTool.exe, ExitCode=5
UATHelper: Packaging (Android (ATC)): ERROR: UnrealBuildTool failed. See log for more details. (C:\Users\Eli\AppData\Roaming\Unreal Engine\AutomationTool\Logs\E+Apps+Unreal+Engine+UE_4.20\UBT-AugmentedUnrealityEx-Android-Development_2.txt)
UATHelper: Packaging (Android (ATC)):        (see C:\Users\Eli\AppData\Roaming\Unreal Engine\AutomationTool\Logs\E+Apps+Unreal+Engine+UE_4.20\Log.txt for full exception trace)
PackagingResults: Error: UnrealBuildTool failed. See log for more details. (C:\Users\Eli\AppData\Roaming\Unreal Engine\AutomationTool\Logs\E+Apps+Unreal+Engine+UE_4.20\UBT-AugmentedUnrealityEx-Android-Development_2.txt)
UATHelper: Packaging (Android (ATC)): AutomationTool exiting with ExitCode=5 (5)
UATHelper: Packaging (Android (ATC)): BUILD FAILED
PackagingResults: Error: Unknown Error

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions