Android launch not working


Since a couple of days launching on android from the editor is not working on several projects. Some of them have not been changed for weeks, my device has not changed and my pc is also still the same. I tried restarting my pc. testing different android devices. Different projects. Checked all android sdk ndk ant and java directories in the project settings. The devices have usb debugging turned on, and show up normally in cmd, adb devices. I tried adding them to the device manager in UE4 manually, but I got a message “Failed to add device”, with the device identifier I copied from adb devices. I have no idea what could be the problem it suddenly stopped working…

Any ideas?

Thanks in advance!


I also cant seem to build, I keep getting this error maybe its related?

MainFrameActions: Packaging (Android (All)): UnrealBuildTool: Cleaning up files based on template dir D:\Basecamp Games\Projects\MobileApps\Game\Prototype\Game\Build\Android\src\com\basecampgames\Game
MainFrameActions: Packaging (Android (All)): UnrealBuildTool: UnrealBuildTool Exception: System.ComponentModel.Win32Exception (0x80004005): The system cannot find the file specified
MainFrameActions: Packaging (Android (All)): UnrealBuildTool:    at System.Diagnostics.Process.StartWithCreateProcess(ProcessStartInfo startInfo)
MainFrameActions: Packaging (Android (All)): UnrealBuildTool:    at System.Diagnostics.Process.Start(ProcessStartInfo startInfo)
MainFrameActions: Packaging (Android (All)): UnrealBuildTool:    at UnrealBuildTool.Android.UEDeployAndroid.GetSdkApiLevel()
MainFrameActions: Packaging (Android (All)): UnrealBuildTool:    at UnrealBuildTool.Android.UEDeployAndroid.GetAllBuildSettings(String BuildPath, Boolean bForDistribution, Boolean bMakeSeparateApks, Boolean bPackageDataInsideApk, Boolean bDisableVerifyOBBOnStartUp)
MainFrameActions: Packaging (Android (All)): UnrealBuildTool:    at UnrealBuildTool.Android.UEDeployAndroid.MakeApk(String ProjectName, String ProjectDirectory, String OutputPath, String EngineDirectory, Boolean bForDistribution, String CookFlavor, Boolean bMakeSeparateApks, Boolean bIncrementalPackage, Boolean bDisallowPackagingDataInApk)
MainFrameActions: Packaging (Android (All)): UnrealBuildTool:    at UnrealBuildTool.Android.UEDeployAndroid.PrepTargetForDeployment(UEBuildTarget InTarget)
MainFrameActions: Packaging (Android (All)): UnrealBuildTool:    at UnrealBuildTool.UnrealBuildTool.DoPostStartupStuffThatCanAccessConfigs(String[] Arguments)
MainFrameActions: Packaging (Android (All)): CommandUtils.Run: Run: Took 76,6964472s to run UnrealBuildTool.exe, ExitCode=5
MainFrameActions: Packaging (Android (All)): BuildCommand.Execute: ERROR: BUILD FAILED