AugmentedUnreality icon indicating copy to clipboard operation
AugmentedUnreality copied to clipboard

[UE 4.20.2] Cannot export to Android

Open kelteseth opened this issue 7 years ago • 3 comments

  • 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

kelteseth avatar Sep 17 '18 12:09 kelteseth

I also have same proble...

AkimZay avatar Oct 19 '18 14:10 AkimZay

I think project compiled in UE 19.0 version try to build the project with UE 19.0 version.

tagorenavabothu avatar Nov 12 '18 10:11 tagorenavabothu

Did You get it worked?let me know i am facing same problem.

muhammadammar4342 avatar Dec 10 '20 12:12 muhammadammar4342