Download

SDK android : BUILD FAILED

Hi,
I recently tried to create an application on Android using Unreal Engine, but despite:
The installation of SDK
Using the developer mode on my LG G5with a Windows 10, which is detected when using adb devices.
Checking all paths with Unreal Engine and drivers for my smartphone
An error when creating the APK occurs, whether in package or launch.
I couldn’t find the cause of the problem despite a lot of research on the internet:/
Thank you very much for your answers and I attach below a maximum of screenshot and complete logs.


LogPlayLevel: BuildCookRun.SetupParams: Setting up ProjectParams for E:\U7E\MyProjectAndroid\MyProjectAndroid.uproject
LogPlayLevel: Project.CopyBuildToStagingDirectory: ********** STAGE COMMAND STARTED **********
LogPlayLevel: Project.WriteStageCommandline: Creating UE4CommandLine.txt
LogPlayLevel: Completed Launch On Stage: Build Task, Time: 4.802434
LogPlayLevel: Project.CreateStagingManifest: Creating Staging Manifest...
LogPlayLevel: Project.CleanStagingDirectory: Cleaning Stage Directory: E:\U7E\MyProjectAndroid\Saved\StagedBuilds\Android_ASTC
LogPlayLevel: Project.CopyManifestFilesToStageDir: Copying NonUFSFiles to staging directory: E:\U7E\MyProjectAndroid\Saved\StagedBuilds\Android_ASTC
LogPlayLevel: Project.CopyManifestFilesToStageDir: Copying DebugFiles to staging directory: E:\U7E\MyProjectAndroid\Saved\StagedBuilds\Android_ASTC
LogStats:Warning: MetaData mismatch. Did you assign a stat to two groups? New //STATGROUP_Threads//FTcpMessageTransportConnection///Thread_1e58_0///####STATCAT_Advanced#### old //STATGROUP_Threads//FTcpMessageTransportConnection///Thread_2e70_0///####STATCAT_Advanced####
LogPlayLevel: Project.CopyManifestFilesToStageDir: Copying UFSFiles to staging directory: E:\U7E\MyProjectAndroid\Saved\StagedBuilds\Android_ASTC
LogPlayLevel: CommandUtils.Run: Run: E:\Android\android-sdk-windows\platform-tools\adb.exe -s LGH850e0cd483f shell "echo $EXTERNAL_STORAGE"
LogPlayLevel: CommandUtils.Run: Run: Took 0,1499366s to run adb.exe, ExitCode=0
LogPlayLevel: CommandUtils.Run: Run: E:\Android\android-sdk-windows\platform-tools\adb.exe -s LGH850e0cd483f  pull /sdcard/UE4Game/MyProjectAndroid/Manifest_UFSFiles_Android.txt "E:\U7E\MyProjectAndroid\Saved\StagedBuilds\Android_ASTC\Manifest_UFSFiles_Android.txt_LGH850e0cd483f"
LogPlayLevel: CommandUtils.Run: Run: Took 0,1079639s to run adb.exe, ExitCode=1
LogPlayLevel: Project.CopyBuildToStagingDirectory: ********** STAGE COMMAND COMPLETED **********
LogPlayLevel: Project.Package: ********** PACKAGE COMMAND STARTED **********
LogPlayLevel: Project.Package: ********** PACKAGE COMMAND COMPLETED **********
LogPlayLevel: Project.Deploy: ********** DEPLOY COMMAND STARTED **********
LogPlayLevel: CommandUtils.Run: Run: E:\Android\android-sdk-windows\platform-tools\adb.exe -s LGH850e0cd483f  shell getprop ro.product.cpu.abi
LogPlayLevel: CommandUtils.Run: Run: Took 0,1474623s to run adb.exe, ExitCode=0
LogPlayLevel: CommandUtils.Run: Run: E:\Android\android-sdk-windows\platform-tools\adb.exe -s LGH850e0cd483f shell dumpsys SurfaceFlinger
LogPlayLevel: CommandUtils.Run: Run: Took 0,1569564s to run adb.exe, ExitCode=0
LogPlayLevel: AndroidPlatform.CollectPluginDataPaths: AndroidPlugin: Plugins\Runtime\AndroidPermission\Source\AndroidPermission\AndroidPermission_APL.xml
LogPlayLevel: AndroidPlatform.CollectPluginDataPaths: AndroidPlugin: Plugins\Runtime\GearVR\Source\GearVR\GearVR_APL.xml
LogPlayLevel: AndroidPlatform.CollectPluginDataPaths: AndroidPlugin: Plugins\Runtime\GearVR\Source\GearVRController\GearVRController_APL.xml
LogPlayLevel: AndroidPlatform.CollectPluginDataPaths: AndroidPlugin: Plugins\Runtime\GoogleCloudMessaging\Source\GoogleCloudMessaging\GoogleCloudMessaging_UPL.xml
LogPlayLevel: AndroidPlatform.CollectPluginDataPaths: AndroidPlugin: Source\Runtime\Online\Voice\AndroidVoiceImpl_UPL.xml
LogPlayLevel: UnrealPluginLanguage..ctor:
LogPlayLevel: UPL: Engine\Plugins/Runtime/AndroidPermission/Source/AndroidPermission/AndroidPermission_APL.xml
LogPlayLevel: UnrealPluginLanguage..ctor:
LogPlayLevel: UPL: Engine\Plugins/Runtime/GearVR/Source/GearVR/GearVR_APL.xml
LogPlayLevel: UnrealPluginLanguage..ctor:
LogPlayLevel: UPL: Engine\Plugins/Runtime/GearVR/Source/GearVRController/GearVRController_APL.xml
LogPlayLevel: UnrealPluginLanguage..ctor:
LogPlayLevel: UPL: Engine\Plugins/Runtime/GoogleCloudMessaging/Source/GoogleCloudMessaging/GoogleCloudMessaging_UPL.xml
LogPlayLevel: UnrealPluginLanguage..ctor:
LogPlayLevel: UPL: Engine\Source/Runtime/Online/Voice/AndroidVoiceImpl_UPL.xml
LogPlayLevel: UEDeployAndroid.MakeApk:
LogPlayLevel: ====12/11/2018 19:15:45====PREPARING TO MAKE APK=================================================================
LogPlayLevel: Building Java with SDK API level 'android-24'
LogPlayLevel: UEDeployAndroid.PatchAntBatIfNeeded:
LogPlayLevel: Patching ant.bat to work around commandline length limit (using unused drive letter Z:)
LogPlayLevel: Using package name: 'com.YourCompany.MyProjectAndroid'
LogPlayLevel: UEDeployAndroid.WriteJavaOBBDataFile:
LogPlayLevel: ==== Writing to OBB data file E:\U7E\MyProjectAndroid\Build\Android\src\com\YourCompany\MyProjectAndroid\OBBData.java ====
LogPlayLevel: UEDeployAndroid.WriteJavaDownloadSupportFiles:
LogPlayLevel: ==== Writing to shim file E:\U7E\MyProjectAndroid\Build\Android\src\com\epicgames\ue4\DownloadShim.java ====
LogPlayLevel: UEDeployAndroid.WriteJavaDownloadSupportFiles:
LogPlayLevel: ==== Writing to template target file E:\U7E\MyProjectAndroid\Build\Android\src\com\YourCompany\MyProjectAndroid\AlarmReceiver.java ====
LogPlayLevel: UEDeployAndroid.WriteJavaDownloadSupportFiles:
LogPlayLevel: ==== Writing to template target file E:\U7E\MyProjectAndroid\Build\Android\src\com\YourCompany\MyProjectAndroid\DownloaderActivity.java ====
LogPlayLevel: UEDeployAndroid.WriteJavaDownloadSupportFiles:
LogPlayLevel: ==== Writing to template target file E:\U7E\MyProjectAndroid\Build\Android\src\com\YourCompany\MyProjectAndroid\OBBDownloaderService.java ====
LogPlayLevel: UEDeployAndroid.MakeApk: Cleaning up files based on template dir E:\U7E\MyProjectAndroid\Build\Android\src\com\YourCompany\MyProjectAndroid
LogPlayLevel: UEDeployAndroid.MakeApk: Application display name is different than last build, forcing repackage.
LogPlayLevel: UnrealPluginLanguage.Init: UPL Init: armeabi-v7a
LogPlayLevel: UnrealPluginLanguage.ProcessPluginNode: Android Permission Plugin Init
LogPlayLevel: UnrealPluginLanguage.ProcessPluginNode: GearVR init
LogPlayLevel: UnrealPluginLanguage.ProcessPluginNode: Oculus Signature Files (osig) will be removed from APK
LogPlayLevel: UnrealPluginLanguage.ProcessPluginNode: GearVRController init
LogPlayLevel: UnrealPluginLanguage.ProcessPluginNode: Google Cloud Messaging init
LogPlayLevel: UnrealPluginLanguage.ProcessPluginNode: GCMClientSenderID set: false
LogPlayLevel: UnrealPluginLanguage.ProcessPluginNode: Android Voice init
LogPlayLevel: UEDeployAndroid.RequiresOBB: APK contains data.
LogPlayLevel: UEDeployAndroid.MakeApk: Performing complete package - wiping E:\U7E\MyProjectAndroid\Intermediate/Android/APK, except for predexedLibs
LogPlayLevel: UEDeployAndroid.MakeApk: bPackageDataInsideApk = False
LogPlayLevel: AndroidAARHandler.AddRepositories: Added repository: E:\Android\android-sdk-windows\extras\google\m2repository
LogPlayLevel: AndroidAARHandler.AddRepositories: Added repository: E:\Android\android-sdk-windows\extras\android\m2repository
LogPlayLevel: AndroidAARHandler.AddRepositories: Added repository: E:\Unreal Engine\UNreal Engine\UE_4.16\Engine\Source\ThirdParty\Android\extras\google\m2repository
LogPlayLevel: AndroidAARHandler.AddRepositories: Added repository: E:\Unreal Engine\UNreal Engine\UE_4.16\Engine\Source\ThirdParty\Android\extras\android\m2repository
LogPlayLevel: UEDeployAndroid.ExtractAARAndJARFiles: AARImports: com.google.android.gms, play-services-ads, 9.2.0
LogPlayLevel: UEDeployAndroid.ExtractAARAndJARFiles: AARImports: com.google.android.gms, play-services-auth, 9.2.0
LogPlayLevel: UEDeployAndroid.ExtractAARAndJARFiles: AARImports: com.google.android.gms, play-services-games, 9.2.0
LogPlayLevel: UEDeployAndroid.ExtractAARAndJARFiles: AARImports: com.google.android.gms, play-services-nearby, 9.2.0
LogPlayLevel: UEDeployAndroid.ExtractAARAndJARFiles: AARImports: com.google.android.gms, play-services-plus, 9.2.0
LogPlayLevel: UEDeployAndroid.ExtractAARAndJARFiles: AARImports: com.android.support, support-v13, 25.0.0
LogPlayLevel: AndroidAARHandler.AddNewAAR: AAR: support-v4: 25.0.0 newer than 23.0.0
LogPlayLevel: AndroidAARHandler.AddNewJAR: AAR: support-annotations: 25.0.0 newer than 23.0.0
LogPlayLevel: AndroidAARHandler.ExtractAARs: Extracting AARs
LogPlayLevel: AndroidAARHandler.ExtractAARs: Extracting AAR play-services-ads-9.2.0
LogPlayLevel: AndroidAARHandler.ExtractAARs: Extracting AAR play-services-ads-lite-9.2.0
LogPlayLevel: AndroidAARHandler.ExtractAARs: Extracting AAR play-services-basement-9.2.0
LogPlayLevel: AndroidAARHandler.ExtractAARs: Extracting AAR play-services-base-9.2.0
LogPlayLevel: AndroidAARHandler.ExtractAARs: Extracting AAR play-services-tasks-9.2.0
LogPlayLevel: AndroidAARHandler.ExtractAARs: Extracting AAR play-services-clearcut-9.2.0
LogPlayLevel: AndroidAARHandler.ExtractAARs: Extracting AAR play-services-gass-9.2.0
LogPlayLevel: AndroidAARHandler.ExtractAARs: Extracting AAR play-services-auth-9.2.0
LogPlayLevel: AndroidAARHandler.ExtractAARs: Extracting AAR play-services-auth-base-9.2.0
LogPlayLevel: AndroidAARHandler.ExtractAARs: Extracting AAR play-services-games-9.2.0
LogPlayLevel: AndroidAARHandler.ExtractAARs: Extracting AAR play-services-drive-9.2.0
LogPlayLevel: AndroidAARHandler.ExtractAARs: Extracting AAR play-services-nearby-9.2.0
LogPlayLevel: AndroidAARHandler.ExtractAARs: Extracting AAR play-services-plus-9.2.0
LogPlayLevel: AndroidAARHandler.ExtractAARs: Extracting AAR support-v13-25.0.0
LogPlayLevel: AndroidAARHandler.UnzipFiles: Changed FileName libs/internal_impl-25.0.0.jar => E:\U7E\MyProjectAndroid\Intermediate\Android\APK\JavaLibs\support-v13-25.0.0\libs\support-v13-25.0.0-internal_impl-25.0.0..jar
LogPlayLevel: AndroidAARHandler.ExtractAARs: Extracting AAR support-v4-25.0.0
LogPlayLevel: AndroidAARHandler.ExtractAARs: Extracting AAR support-compat-25.0.0
LogPlayLevel: AndroidAARHandler.UnzipFiles: Changed FileName libs/internal_impl-25.0.0.jar => E:\U7E\MyProjectAndroid\Intermediate\Android\APK\JavaLibs\support-compat-25.0.0\libs\support-compat-25.0.0-internal_impl-25.0.0..jar
LogPlayLevel: AndroidAARHandler.ExtractAARs: Extracting AAR support-media-compat-25.0.0
LogPlayLevel: AndroidAARHandler.UnzipFiles: Changed FileName libs/internal_impl-25.0.0.jar => E:\U7E\MyProjectAndroid\Intermediate\Android\APK\JavaLibs\support-media-compat-25.0.0\libs\support-media-compat-25.0.0-internal_impl-25.0.0..jar
LogPlayLevel: AndroidAARHandler.ExtractAARs: Extracting AAR support-core-utils-25.0.0
LogPlayLevel: AndroidAARHandler.UnzipFiles: Changed FileName libs/internal_impl-25.0.0.jar => E:\U7E\MyProjectAndroid\Intermediate\Android\APK\JavaLibs\support-core-utils-25.0.0\libs\support-core-utils-25.0.0-internal_impl-25.0.0..jar
LogPlayLevel: AndroidAARHandler.ExtractAARs: Extracting AAR support-core-ui-25.0.0
LogPlayLevel: AndroidAARHandler.UnzipFiles: Changed FileName libs/internal_impl-25.0.0.jar => E:\U7E\MyProjectAndroid\Intermediate\Android\APK\JavaLibs\support-core-ui-25.0.0\libs\support-core-ui-25.0.0-internal_impl-25.0.0..jar
LogPlayLevel: AndroidAARHandler.ExtractAARs: Extracting AAR support-fragment-25.0.0
LogPlayLevel: AndroidAARHandler.UnzipFiles: Changed FileName libs/internal_impl-25.0.0.jar => E:\U7E\MyProjectAndroid\Intermediate\Android\APK\JavaLibs\support-fragment-25.0.0\libs\support-fragment-25.0.0-internal_impl-25.0.0..jar
LogPlayLevel: AndroidAARHandler.CopyJARs: Copying JAR support-annotations-25.0.0.jar
LogPlayLevel: UEDeployAndroid.MakeApk:
LogPlayLevel: ====12/11/2018 19:17:01====PREPARING NATIVE CODE=================================================================
LogPlayLevel: UEDeployAndroid.RequiresOBB: APK contains data.
LogPlayLevel: UnrealPluginLanguage.ProcessPluginNode: Copying permission_library directory to staging before build
LogPlayLevel: UnrealPluginLanguage.ProcessPluginNode:
LogPlayLevel: Directory E:\Unreal Engine\UNreal Engine\UE_4.16/Engine/Source/ThirdParty/AndroidPermission/permission_library copied to E:\U7E\MyProjectAndroid\Intermediate/Android/APK/JavaLibs/permission_library
LogPlayLevel: UEDeployAndroid.UpdateProjectProperties:
LogPlayLevel: ====12/11/2018 19:17:02====UPDATING BUILD CONFIGURATION FILES====================================================
LogPlayLevel: UEDeployAndroid.RunCommandLineProgramWithException: Updating project.properties, local.properties, and build.xml for downloader_library...
LogPlayLevel: UEDeployAndroid.RunCommandLineProgramWithException: Updating project.properties, local.properties, and build.xml for permission_library...
LogPlayLevel: UEDeployAndroid.RunCommandLineProgramWithException: Updating project.properties, local.properties, and build.xml for play-services-ads-9.2.0...
LogPlayLevel: UEDeployAndroid.RunCommandLineProgramWithException: Updating project.properties, local.properties, and build.xml for play-services-ads-lite-9.2.0...
LogPlayLevel: UEDeployAndroid.RunCommandLineProgramWithException: Updating project.properties, local.properties, and build.xml for play-services-auth-9.2.0...
LogPlayLevel: UEDeployAndroid.RunCommandLineProgramWithException: Updating project.properties, local.properties, and build.xml for play-services-auth-base-9.2.0...
LogPlayLevel: UEDeployAndroid.RunCommandLineProgramWithException: Updating project.properties, local.properties, and build.xml for play-services-base-9.2.0...
LogPlayLevel: UEDeployAndroid.RunCommandLineProgramWithException: Updating project.properties, local.properties, and build.xml for play-services-basement-9.2.0...
LogPlayLevel: UEDeployAndroid.RunCommandLineProgramWithException: Updating project.properties, local.properties, and build.xml for play-services-clearcut-9.2.0...
LogPlayLevel: UEDeployAndroid.RunCommandLineProgramWithException: Updating project.properties, local.properties, and build.xml for play-services-drive-9.2.0...
LogPlayLevel: UEDeployAndroid.RunCommandLineProgramWithException: Updating project.properties, local.properties, and build.xml for play-services-games-9.2.0...
LogPlayLevel: UEDeployAndroid.RunCommandLineProgramWithException: Updating project.properties, local.properties, and build.xml for play-services-gass-9.2.0...
LogPlayLevel: UEDeployAndroid.RunCommandLineProgramWithException: Updating project.properties, local.properties, and build.xml for play-services-nearby-9.2.0...
LogPlayLevel: UEDeployAndroid.RunCommandLineProgramWithException: Updating project.properties, local.properties, and build.xml for play-services-plus-9.2.0...
LogPlayLevel: UEDeployAndroid.RunCommandLineProgramWithException: Updating project.properties, local.properties, and build.xml for play-services-tasks-9.2.0...
LogPlayLevel: UEDeployAndroid.RunCommandLineProgramWithException: Updating project.properties, local.properties, and build.xml for support-compat-25.0.0...
LogPlayLevel: UEDeployAndroid.RunCommandLineProgramWithException: Updating project.properties, local.properties, and build.xml for support-core-ui-25.0.0...
LogPlayLevel: UEDeployAndroid.RunCommandLineProgramWithException: Updating project.properties, local.properties, and build.xml for support-core-utils-25.0.0...
LogPlayLevel: UEDeployAndroid.RunCommandLineProgramWithException: Updating project.properties, local.properties, and build.xml for support-fragment-25.0.0...
LogPlayLevel: UEDeployAndroid.RunCommandLineProgramWithException: Updating project.properties, local.properties, and build.xml for support-media-compat-25.0.0...
LogPlayLevel: UEDeployAndroid.RunCommandLineProgramWithException: Updating project.properties, local.properties, and build.xml for support-v13-25.0.0...
LogPlayLevel: UEDeployAndroid.RunCommandLineProgramWithException: Updating project.properties, local.properties, and build.xml for support-v4-25.0.0...
LogPlayLevel: UEDeployAndroid.UpdateGameActivity:
LogPlayLevel: ==== Writing new GameActivity.java file to E:\U7E\MyProjectAndroid\Intermediate/Android/APK\src\com\epicgames\ue4\GameActivity.java ====
LogPlayLevel: UEDeployAndroid.MakeApk:
LogPlayLevel: Copying new .so E:\Unreal Engine\UNreal Engine\UE_4.16\Engine\Binaries\Android\UE4Game-armv7-es2.so file to jni folder...
LogPlayLevel: UEDeployAndroid.RunCommandLineProgramWithException: Preparing native code for debugging...
LogPlayLevel: UnrealPluginLanguage.ProcessPluginNode:
LogPlayLevel: File E:\Unreal Engine\UNreal Engine\UE_4.16/Engine/Source/ThirdParty/Oculus/OculusMobile/SDK_1_0_3/Libs/armeabi-v7a/libvrapi.so copied to E:\U7E\MyProjectAndroid\Intermediate/Android/APK/libs/armeabi-v7a/libvrapi.so
LogPlayLevel: UnrealPluginLanguage.ProcessPluginNode:
LogPlayLevel: File E:\Unreal Engine\UNreal Engine\UE_4.16/Engine/Source/ThirdParty/Oculus/OculusMobile/SDK_1_0_3/Libs/VrApi.jar copied to E:\U7E\MyProjectAndroid\Intermediate/Android/APK/libs/VrApi.jar
LogPlayLevel: UnrealPluginLanguage.ProcessPluginNode:
LogPlayLevel: File E:\Unreal Engine\UNreal Engine\UE_4.16/Engine/Source/ThirdParty/Oculus/OculusMobile/SDK_1_0_3/Libs/SystemUtils.jar copied to E:\U7E\MyProjectAndroid\Intermediate/Android/APK/libs/SystemUtils.jar
LogPlayLevel: UEDeployAndroid.MakeApk:
LogPlayLevel: ====12/11/2018 19:18:37====PERFORMING FINAL APK PACKAGE OPERATION================================================
LogPlayLevel: UEDeployAndroid.RunCommandLineProgramAndReturnResult: Making .apk with Ant... (note: it's safe to ignore javac obsolete warnings)
LogPlayLevel: BUILD FAILED
LogPlayLevel: Z:\build.xml:69: The following error occurred while executing this line:
LogPlayLevel: Z:\custom_rules.xml:18: SDK does not have any Build Tools installed.
LogPlayLevel: Total time: 1 second
LogPlayLevel: Program.Main: ERROR: AutomationTool terminated with exception: System.IO.DirectoryNotFoundException: Impossible de trouver une partie du chemin d'accès 'E:\U7E\MyProjectAndroid\Intermediate/Android/APK/bin/MyProjectAndroid-debug.apk'.
LogPlayLevel:    à System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)
LogPlayLevel:    à System.IO.File.InternalCopy(String sourceFileName, String destFileName, Boolean overwrite, Boolean checkHost)
LogPlayLevel:    à UnrealBuildTool.UEDeployAndroid.MakeApk(AndroidToolChain ToolChain, String ProjectName, String ProjectDirectory, String OutputPath, String EngineDirectory, Boolean bForDistribution, String CookFlavor, Boolean bMakeSeparateApks, Boolean bIncrementalPackage, Boolean bDisallowPackagingDataInApk, Boolean bDisallowExternalFilesDir)
LogPlayLevel:    à UnrealBuildTool.UEDeployAndroid.PrepForUATPackageOrDeploy(FileReference ProjectFile, String ProjectName, String ProjectDirectory, String ExecutablePath, String EngineDirectory, Boolean bForDistribution, String CookFlavor, Boolean bIsDataDeploy)
LogPlayLevel:    à AndroidPlatform.Deploy(ProjectParams Params, DeploymentContext SC)
LogPlayLevel:    à Project.Deploy(ProjectParams Params)
LogPlayLevel:    à BuildCookRun.DoBuildCookRun(ProjectParams Params)
LogPlayLevel:    à BuildCookRun.ExecuteBuild()
LogPlayLevel:    à AutomationTool.BuildCommand.Execute()
LogPlayLevel:    à AutomationTool.Automation.Execute(List`1 CommandsToExecute, CaselessDictionary`1 Commands)
LogPlayLevel:    à AutomationTool.Automation.Process(String] Arguments)
LogPlayLevel:    à AutomationTool.Program.MainProc(Object Param)
LogPlayLevel:    à AutomationTool.InternalUtils.RunSingleInstance(Func`2 Main, Object Param)
LogPlayLevel:    à AutomationTool.Program.Main()
LogPlayLevel: Program.Main: AutomationTool exiting with ExitCode=1 (Error_Unknown)
LogPlayLevel: Completed Launch On Stage: Deploy Task, Time: 371.686601
LogPlayLevel: BUILD FAILED
PackagingResults:Error: Error Launch failed! Unknown Error



Capture.PNG

LogPlayLevel: Z:\custom_rules.xml:18: SDK does not have any Build Tools installed.

you simply don’t have any build tools installed :slight_smile:

just install Android SDK Build Tools (all of them) and it should work fine after

Thank you for your answer but unfortunately it still doesn’t work :frowning:
I installed all the builds, but the same error is still present
I realize that I have not specified that the project I use for testing is the basic FPS proposed by Unreal Engine without modification (set with the parameters requested on https://docs.unrealengine.com/en-us/Platforms/Android/GettingStarted)
I attach the logs, although they look the same and a screenshot of the installation of all the builds, if I ever forget a build


LogPlayLevel: ==== Writing new GameActivity.java file to E:\U7E\MyProjectAndroid\Intermediate/Android/APK\src\com\epicgames\ue4\GameActivity.java ====
LogPlayLevel: UEDeployAndroid.MakeApk:
LogPlayLevel: Copying new .so E:\Unreal Engine\UNreal Engine\UE_4.16\Engine\Binaries\Android\UE4Game-armv7-es2.so file to jni folder...
LogPlayLevel: UEDeployAndroid.RunCommandLineProgramWithException: Preparing native code for debugging...
LogPlayLevel: UnrealPluginLanguage.ProcessPluginNode:
LogPlayLevel: File E:\Unreal Engine\UNreal Engine\UE_4.16/Engine/Source/ThirdParty/Oculus/OculusMobile/SDK_1_0_3/Libs/armeabi-v7a/libvrapi.so copied to E:\U7E\MyProjectAndroid\Intermediate/Android/APK/libs/armeabi-v7a/libvrapi.so
LogPlayLevel: UnrealPluginLanguage.ProcessPluginNode:
LogPlayLevel: File E:\Unreal Engine\UNreal Engine\UE_4.16/Engine/Source/ThirdParty/Oculus/OculusMobile/SDK_1_0_3/Libs/VrApi.jar copied to E:\U7E\MyProjectAndroid\Intermediate/Android/APK/libs/VrApi.jar
LogPlayLevel: UnrealPluginLanguage.ProcessPluginNode:
LogPlayLevel: File E:\Unreal Engine\UNreal Engine\UE_4.16/Engine/Source/ThirdParty/Oculus/OculusMobile/SDK_1_0_3/Libs/SystemUtils.jar copied to E:\U7E\MyProjectAndroid\Intermediate/Android/APK/libs/SystemUtils.jar
LogPlayLevel: UEDeployAndroid.MakeApk:
LogPlayLevel: ====13/11/2018 16:56:55====PERFORMING FINAL APK PACKAGE OPERATION================================================
LogPlayLevel: UEDeployAndroid.RunCommandLineProgramAndReturnResult: Making .apk with Ant... (note: it's safe to ignore javac obsolete warnings)
LogPlayLevel: BUILD FAILED
LogPlayLevel: Z:\build.xml:69: The following error occurred while executing this line:
LogPlayLevel: Z:\custom_rules.xml:18: SDK does not have any Build Tools installed.
LogPlayLevel: Total time: 1 second
LogPlayLevel: Program.Main: ERROR: AutomationTool terminated with exception: System.IO.DirectoryNotFoundException: Impossible de trouver une partie du chemin d'accès 'E:\U7E\MyProjectAndroid\Intermediate/Android/APK/bin/MyProjectAndroid-debug.apk'.
LogPlayLevel:    à System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)
LogPlayLevel:    à System.IO.File.InternalCopy(String sourceFileName, String destFileName, Boolean overwrite, Boolean checkHost)
LogPlayLevel:    à UnrealBuildTool.UEDeployAndroid.MakeApk(AndroidToolChain ToolChain, String ProjectName, String ProjectDirectory, String OutputPath, String EngineDirectory, Boolean bForDistribution, String CookFlavor, Boolean bMakeSeparateApks, Boolean bIncrementalPackage, Boolean bDisallowPackagingDataInApk, Boolean bDisallowExternalFilesDir)
LogPlayLevel:    à UnrealBuildTool.UEDeployAndroid.PrepForUATPackageOrDeploy(FileReference ProjectFile, String ProjectName, String ProjectDirectory, String ExecutablePath, String EngineDirectory, Boolean bForDistribution, String CookFlavor, Boolean bIsDataDeploy)
LogPlayLevel:    à AndroidPlatform.Deploy(ProjectParams Params, DeploymentContext SC)
LogPlayLevel:    à Project.Deploy(ProjectParams Params)
LogPlayLevel:    à BuildCookRun.DoBuildCookRun(ProjectParams Params)
LogPlayLevel:    à BuildCookRun.ExecuteBuild()
LogPlayLevel:    à AutomationTool.BuildCommand.Execute()
LogPlayLevel:    à AutomationTool.Automation.Execute(List`1 CommandsToExecute, CaselessDictionary`1 Commands)
LogPlayLevel:    à AutomationTool.Automation.Process(String] Arguments)
LogPlayLevel:    à AutomationTool.Program.MainProc(Object Param)
LogPlayLevel:    à AutomationTool.InternalUtils.RunSingleInstance(Func`2 Main, Object Param)
LogPlayLevel:    à AutomationTool.Program.Main()
LogPlayLevel: Program.Main: AutomationTool exiting with ExitCode=1 (Error_Unknown)
LogPlayLevel: Completed Launch On Stage: Deploy Task, Time: 337.735533
LogPlayLevel: BUILD FAILED
PackagingResults:Error: Error Launch failed! Unknown Error


Capture.PNG

hopefully these 2 will help

1:in project options, android, build, turn off ARM64 support

2:in project options, androidSDK, sdk config, set SDK API LEVEL to “matchndk”, and set NDK API LEVEL to “android-19”

hope one of these fixes your problems

gl :slight_smile:

Thank you for your answer slabs37, it’s nice to see that there are many friendly and caring people in the unreal engine community!

ARM64 was already in Off and I have changed SDK API LEVEL to “matchndk”, and NDK API LEVEL to “android-19” but it still doesn’t work to build, I have the same error :confused:

I found in the files of my project all the information about “Build”, I attach them below, if ever.
I don’t really know how to help, so if I can reach other information, ask me !



NDKROOT=E:/Android/android-ndk-r12b
ANDROID_HOME=E:/Android/android-sdk-windows
ANT_HOME=E:/Android/apache-ant-1.8.2
JAVA_HOME=E:/Android/jdk1.8.0_77
SDKVersion=android-24
bForDistribution=False
bMakeSeparateApks=True
bPackageDataInsideApk=False
bDisableVerifyOBBOnStartUp=False
bUseExternalFilesDir=False
bEnableGooglePlaySupport=false
bBuildForArmV7=true
bBuildForArm64=false
bBuildForX86=false
bBuildForX8664=false
bBuildForES2=true
bBuildForESDeferred=false
bSupportsVulkan=false
bSplitIntoSeparateApks=false
bPackageDataInsideApk=false
bUseExternalFilesDir=false
bCreateAllPlatformsInstall=false
Orientation=Landscape
InstallLocation=InternalOnly
DepthBufferPreference=Default
PackageName=com.YourCompany.[PROJECT]
StoreVersion=1
VersionDisplayName=1.0
MinSDKVersion=14
TargetSDKVersion=14
bShowLaunchImage=true
bMultiTargetFormat_ETC1=true
bMultiTargetFormat_ETC2=true
bMultiTargetFormat_DXT=true
bMultiTargetFormat_PVRTC=true
bMultiTargetFormat_ATC=true
bMultiTargetFormat_ASTC=true
TextureFormatPriority_ETC1=0.1
TextureFormatPriority_ETC2=0.2
TextureFormatPriority_DXT=0.6
TextureFormatPriority_PVRTC=0.8
TextureFormatPriority_ATC=0.5
TextureFormatPriority_ASTC=0.9
bEnableNewKeyboard=False
bAndroidVoiceEnabled=false
bBuildWithHiddenSymbolVisibility=false
SDKAPILevel=matchndk
NDKAPILevel=android-19
SDKPath=(Path="E:/Android/android-sdk-windows")
NDKPath=(Path="E:/Android/android-ndk-r12b")
ANTPath=(Path="E:/Android/apache-ant-1.8.2")
JavaPath=(Path="E:/Android/jdk1.8.0_77")
Arch=-armv7
GPUArch=-es2



the only thing i can think of right now is reinstalling Codeworks for Android 1R6u1
the size will be alot (~30gb) but i really can’t think of anything else

sorry :frowning:

just rechecked the log

System.IO.DirectoryNotFoundException: “some other language stuff” E:\U7E\MyProjectAndroid\Intermediate/Android/APK/bin/MyProjectAndroid-debug.apk

maybe change the folder name to not have a number in it? it could be confusing unreal engine and also maybe try deleting the Intermediate and Binaries folder from the project folder

i tried to replicate this…
some how managed to get blue screen of death

I hope the Blue Screen wasn’t too serious or annoying !
For the foreign language message, in English it is: “Unable to find a part of the path to …”
I forgot to translate it :confused:
I’ll try to remove the numbers and delete the files.
And otherwise I left for several days of downloading with my 500kb/sec connection :frowning:
Edit : reinstalling Codeworks worked, thank you for your help :slight_smile: