I try to found solution in forum because I don’t know why I have this problem.
I follow this guide : https://docs.unrealengine.com/latest/INT/Platforms/Android/GettingStarted/1/index.html
(I don’t know if it is important but I can’t install Nsight Tegra , PC can’t found visual studio , I try to reinstall VS but that don’t work so I skip but I read it is not important here Dev for Android, Step by Step? - Android Development - Unreal Engine Forums)
And I try to lunch or create Package Project for android ( I try with basic project) and I have a Error: Error Launch failed! Unknown Error
If you want I can give you outpout log .
Thank for any reponse
in the editor - where your log shows up - you can filter out warnings, errrors and info - you can also do text searches, searching for “error” lets you isolate the why
So i can isolate error , but that don’t tell me , just red error message , where but I have this texte just before when I try package or lunch a basic fps map for smartphone :
UATHelper: Packaging (Android (All)): UEDeployAndroid.MakeApk:
UATHelper: Packaging (Android (All)): Copying new .so E:\Unreal Engine\UNreal Engine\UE_4.16\Engine\Binaries\Android\UE4Game-armv7-es2.so file to jni folder…
UATHelper: Packaging (Android (All)): UEDeployAndroid.RunCommandLineProgramWithException: Preparing native code for debugging…
UATHelper: Packaging (Android (All)): Program.Main: ERROR: AutomationTool terminated with exception: ERROR: E:/Unreal Engine/Android/android-ndk-r12b/ndk-build.cmd failed with args APP_ABI="armeabi-v7a " NDK_DEBUG=1
UATHelper: Packaging (Android (All)): Program.Main: AutomationTool exiting with ExitCode=1 (Error_Unknown)
I have folder /Unreal Engine/ where I put SDK (in /Android/ folder) and UE4
And this is all error I found on a basic fps map for smartphone :
MapCheck: Info Map check complete: 0 Error(s), 0 Warning(s), took 79.361ms to complete.
LogCook:Display: Cooking /Engine/EditorResources/LightIcons/S_LightError -> C:/Users/Light14900/Documents/Unreal Projects/MyProject2/Saved/EditorCooked/Android_ATC/Engine/Content/EditorResources/LightIcons/S_LightError.uasset
LogSavePackage: Async saving from memory to ‘C:/Users/Light14900/Documents/Unreal Projects/MyProject2/Saved/EditorCooked/Android_ATC/Engine/Content/EditorResources/LightIcons/S_LightError.uasset’
LogSavePackage:Display: Finished SavePackage C:/Users/Light14900/Documents/Unreal Projects/MyProject2/Saved/EditorCooked/Android_ATC/Engine/Content/EditorResources/LightIcons/S_LightError.uasset
LogPlayLevel: Program.Main: ERROR: AutomationTool terminated with exception: ERROR: Can’t make an APK without an API installed (see “android.bat list targets”)
LogPlayLevel: Program.Main: AutomationTool exiting with ExitCode=1 (Error_Unknown)
PackagingResults:Error: Error Launch failed! Unknown Error
LogTemp: IPP ERROR: Could not find provision directory ‘C:\Users\Light14900\AppData\Local/Apple Computer/MobileDevice/Provisioning Profiles/’.
LogPlayLevel: Program.Main: ERROR: AutomationTool terminated with exception: ERROR: E:/Unreal Engine/Android/android-ndk-r12b/ndk-build.cmd failed with args APP_ABI="armeabi-v7a " NDK_DEBUG=1
LogPlayLevel: Program.Main: AutomationTool exiting with ExitCode=1 (Error_Unknown)
PackagingResults:Error: Error Launch failed! Unknown Error
LogPlayLevel: Program.Main: ERROR: AutomationTool terminated with exception: ERROR: E:/Unreal Engine/Android/android-ndk-r12b/ndk-build.cmd failed with args APP_ABI="armeabi-v7a " NDK_DEBUG=1
LogPlayLevel: Program.Main: AutomationTool exiting with ExitCode=1 (Error_Unknown)
PackagingResults:Error: Error Launch failed! Unknown Error
UATHelper: Packaging (Android (All)): Cook: LogCook:Display: Forcing save package …/…/…/Engine/Content/EditorResources/LightIcons/S_LightError.uasset because was already requeued once
UATHelper: Packaging (Android (All)): Cook: LogCook:Display: Cooking /Engine/EditorResources/LightIcons/S_LightError -> C:/Users/Light14900/Documents/Unreal Projects/MyProject2/Saved/Cooked/Android/Engine/Content/EditorResources/LightIcons/S_LightError.uasset
UATHelper: Packaging (Android (All)): Cook: LogSavePackage:Display: Finished SavePackage C:/Users/Light14900/Documents/Unreal Projects/MyProject2/Saved/Cooked/Android/Engine/Content/EditorResources/LightIcons/S_LightError.uasset
UATHelper: Packaging (Android (All)): Cook: LogInit:Display: Warning/Error Summary (Unique only)
UATHelper: Packaging (Android (All)): Cook: LogInit:Display: Success - 0 error(s), 2 warning(s)
UATHelper: Packaging (Android (All)): Program.Main: ERROR: AutomationTool terminated with exception: ERROR: E:/Unreal Engine/Android/android-ndk-r12b/ndk-build.cmd failed with args APP_ABI="armeabi-v7a " NDK_DEBUG=1
UATHelper: Packaging (Android (All)): Program.Main: AutomationTool exiting with ExitCode=1 (Error_Unknown)
PackagingResults:Error: Error Unknown Error
LogPlayLevel: Program.Main: ERROR: AutomationTool terminated with exception: ERROR: E:/Unreal Engine/Android/android-ndk-r12b/ndk-build.cmd failed with args APP_ABI="armeabi-v7a " NDK_DEBUG=1
LogPlayLevel: Program.Main: AutomationTool exiting with ExitCode=1 (Error_Unknown)
PackagingResults:Error: Error Launch failed! Unknown Error
This is project SDK setting ( I see some forum which it is important) :
I have exactly the same problem, I can’t compile empty project for Andoid, I did everything correctly but compile always fails. Only thing is missing is NsightTegra and Visual Studio from Android Codeworks that UE4.18 provided in the folder.