Announcement

Collapse
No announcement yet.

When starting up a test launch on my S7 it fails.

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    When starting up a test launch on my S7 it fails.

    Need help! I was finally able to hook my Samsung galaxy 7 up and when I go to launch It fails, please help me im lost. here is the output log:


    LogPlayLevel: UnrealBuildTool: ====2017-05-08 8:21:01 PM====PREPARING NATIVE CODE=================================================================
    LogPlayLevel: UnrealBuildTool: On build machine.
    LogPlayLevel: UnrealBuildTool: Fixing minSdkVersion; NDK level above 19 requires minSdkVersion of 21 (arch=armv7)
    LogPlayLevel: UnrealBuildTool:
    LogPlayLevel: UnrealBuildTool: ====2017-05-08 8:21:01 PM====UPDATING BUILD CONFIGURATION FILES====================================================
    LogPlayLevel: UnrealBuildTool: Error: Target id 'android-24' is not valid. Use 'android.bat list targets' to get the target ids.
    LogPlayLevel: UnrealBuildTool: Updating project.properties, local.properties, and build.xml for downloader_library...
    LogPlayLevel: UnrealBuildTool: Error: Target id 'android-24' is not valid. Use 'android.bat list targets' to get the target ids.
    LogPlayLevel: UnrealBuildTool: Error: Target id 'android-24' is not valid. Use 'android.bat list targets' to get the target ids.
    LogPlayLevel: UnrealBuildTool: Updating project.properties, local.properties, and build.xml for play-services-ads-9.2.0...
    LogPlayLevel: UnrealBuildTool: Error: Target id 'android-24' is not valid. Use 'android.bat list targets' to get the target ids.
    LogPlayLevel: UnrealBuildTool: Error: Target id 'android-24' is not valid. Use 'android.bat list targets' to get the target ids.
    LogPlayLevel: UnrealBuildTool: Updating project.properties, local.properties, and build.xml for play-services-ads-lite-9.2.0...
    LogPlayLevel: UnrealBuildTool: Error: Target id 'android-24' is not valid. Use 'android.bat list targets' to get the target ids.
    LogPlayLevel: UnrealBuildTool: Error: Target id 'android-24' is not valid. Use 'android.bat list targets' to get the target ids.
    LogPlayLevel: UnrealBuildTool: Updating project.properties, local.properties, and build.xml for play-services-auth-9.2.0...
    LogPlayLevel: UnrealBuildTool: Error: Target id 'android-24' is not valid. Use 'android.bat list targets' to get the target ids.
    LogPlayLevel: UnrealBuildTool: Error: Target id 'android-24' is not valid. Use 'android.bat list targets' to get the target ids.
    LogPlayLevel: UnrealBuildTool: Updating project.properties, local.properties, and build.xml for play-services-auth-base-9.2.0...
    LogPlayLevel: UnrealBuildTool: Error: Target id 'android-24' is not valid. Use 'android.bat list targets' to get the target ids.
    LogPlayLevel: UnrealBuildTool: Error: Target id 'android-24' is not valid. Use 'android.bat list targets' to get the target ids.
    LogPlayLevel: UnrealBuildTool: Updating project.properties, local.properties, and build.xml for play-services-base-9.2.0...
    LogPlayLevel: UnrealBuildTool: Error: Target id 'android-24' is not valid. Use 'android.bat list targets' to get the target ids.
    LogPlayLevel: UnrealBuildTool: Error: Target id 'android-24' is not valid. Use 'android.bat list targets' to get the target ids.
    LogPlayLevel: UnrealBuildTool: Updating project.properties, local.properties, and build.xml for play-services-basement-9.2.0...
    LogPlayLevel: UnrealBuildTool: Error: Target id 'android-24' is not valid. Use 'android.bat list targets' to get the target ids.
    LogPlayLevel: UnrealBuildTool: Error: Target id 'android-24' is not valid. Use 'android.bat list targets' to get the target ids.
    LogPlayLevel: UnrealBuildTool: Updating project.properties, local.properties, and build.xml for play-services-clearcut-9.2.0...
    LogPlayLevel: UnrealBuildTool: Error: Target id 'android-24' is not valid. Use 'android.bat list targets' to get the target ids.
    LogPlayLevel: UnrealBuildTool: Error: Target id 'android-24' is not valid. Use 'android.bat list targets' to get the target ids.
    LogPlayLevel: UnrealBuildTool: Updating project.properties, local.properties, and build.xml for play-services-drive-9.2.0...
    LogPlayLevel: UnrealBuildTool: Error: Target id 'android-24' is not valid. Use 'android.bat list targets' to get the target ids.
    LogPlayLevel: UnrealBuildTool: Error: Target id 'android-24' is not valid. Use 'android.bat list targets' to get the target ids.
    LogPlayLevel: UnrealBuildTool: Updating project.properties, local.properties, and build.xml for play-services-games-9.2.0...
    LogPlayLevel: UnrealBuildTool: Error: Target id 'android-24' is not valid. Use 'android.bat list targets' to get the target ids.
    LogPlayLevel: UnrealBuildTool: Error: Target id 'android-24' is not valid. Use 'android.bat list targets' to get the target ids.
    LogPlayLevel: UnrealBuildTool: Updating project.properties, local.properties, and build.xml for play-services-gass-9.2.0...
    LogPlayLevel: UnrealBuildTool: Error: Target id 'android-24' is not valid. Use 'android.bat list targets' to get the target ids.
    LogPlayLevel: UnrealBuildTool: Error: Target id 'android-24' is not valid. Use 'android.bat list targets' to get the target ids.
    LogPlayLevel: UnrealBuildTool: Updating project.properties, local.properties, and build.xml for play-services-nearby-9.2.0...
    LogPlayLevel: UnrealBuildTool: Error: Target id 'android-24' is not valid. Use 'android.bat list targets' to get the target ids.
    LogPlayLevel: UnrealBuildTool: Error: Target id 'android-24' is not valid. Use 'android.bat list targets' to get the target ids.
    LogPlayLevel: UnrealBuildTool: Updating project.properties, local.properties, and build.xml for play-services-plus-9.2.0...
    LogPlayLevel: UnrealBuildTool: Error: Target id 'android-24' is not valid. Use 'android.bat list targets' to get the target ids.
    LogPlayLevel: UnrealBuildTool: Error: Target id 'android-24' is not valid. Use 'android.bat list targets' to get the target ids.
    LogPlayLevel: UnrealBuildTool: Updating project.properties, local.properties, and build.xml for play-services-tasks-9.2.0...
    LogPlayLevel: UnrealBuildTool: Error: Target id 'android-24' is not valid. Use 'android.bat list targets' to get the target ids.
    LogPlayLevel: UnrealBuildTool: Error: Target id 'android-24' is not valid. Use 'android.bat list targets' to get the target ids.
    LogPlayLevel: UnrealBuildTool: Updating project.properties, local.properties, and build.xml for support-v4-23.0.0...
    LogPlayLevel: UnrealBuildTool: Error: Target id 'android-24' is not valid. Use 'android.bat list targets' to get the target ids.
    LogPlayLevel: UnrealBuildTool: ERROR: System.IO.FileNotFoundException: Could not find file 'C:\Users\Cole_\OneDrive\Documents\Unreal Projects\MyProject4\Intermediate\Android\APK\build.xml'.
    LogPlayLevel: UnrealBuildTool: File name: 'C:\Users\Cole_\OneDrive\Documents\Unreal Projects\MyProject4\Intermediate\Android\APK\build.xml'
    LogPlayLevel: UnrealBuildTool: at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)
    LogPlayLevel: UnrealBuildTool: at System.IO.FileStream.Init(String path, FileMode mode, FileAccess access, Int32 rights, Boolean useRights, FileShare share, Int32 bufferSize, FileOptions options, SECURITY_ATTRIBUTES secAttrs, String msgPath, Boolean bFromProxy, Boolean useLongPath, Boolean checkHost)
    LogPlayLevel: UnrealBuildTool: at System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share, Int32 bufferSize, FileOptions options, String msgPath, Boolean bFromProxy, Boolean useLongPath, Boolean checkHost)
    LogPlayLevel: UnrealBuildTool: at System.IO.StreamReader..ctor(String path, Encoding encoding, Boolean detectEncodingFromByteOrderMarks, Int32 bufferSize, Boolean checkHost)
    LogPlayLevel: UnrealBuildTool: at System.IO.StreamReader..ctor(String path, Encoding encoding)
    LogPlayLevel: UnrealBuildTool: at System.IO.File.InternalReadAllLines(String path, Encoding encoding)
    LogPlayLevel: UnrealBuildTool: at UnrealBuildTool.UEDeployAndroid.UpdateBuildXML(String UE4Arch, String NDKArch, String EngineDir, String UE4BuildPath)
    LogPlayLevel: UnrealBuildTool: at UnrealBuildTool.UEDeployAndroid.MakeApk(AndroidToolChain ToolChain, String ProjectName, String ProjectDirectory, String OutputPath, String EngineDirectory, Boolean bForDistribution, String CookFlavor, Boolean bMakeSeparateApks, Boolean bIncrementalPackage, Boolean bDisallowPackagingDataInApk, Boolean bDisallowExternalFile
    sDir)
    LogPlayLevel: UnrealBuildTool: at UnrealBuildTool.UEDeployAndroid.PrepTargetForDeployment(UEBuildDeployTarget InTarget)
    LogPlayLevel: UnrealBuildTool: at UnrealBuildTool.AndroidPlatform.Deploy(UEBuildDeployTarget Target)
    LogPlayLevel: UnrealBuildTool: at UnrealBuildTool.UnrealBuildTool.RunUBT(String[] Arguments, FileReference ProjectFile)
    LogPlayLevel: UnrealBuildTool: Total build time: 50.77 seconds (Local executor: 20.53 seconds)
    LogPlayLevel: CommandUtils.Run: Run: Took 50.9449545s to run UnrealBuildTool.exe, ExitCode=5
    LogPlayLevel: Program.Main: ERROR: AutomationTool terminated with exception: AutomationTool.CommandUtils+CommandFailedException: Command failed (Result:5): C:\Program Files\Epic Games\UE_4.15\Engine\Binaries\DotNET\UnrealBuildTool.exe MyProject4 Android Development -Project="C:\Users\Cole_\OneDrive\Documents\Unreal Projects\MyProject4\MyProject4.uproject" "
    C:\Users\Cole_\OneDrive\Documents\Unreal Projects\MyProject4\MyProject4.uproject" -remoteini="C:\Users\Cole_\OneDrive\Documents\Unreal Projects\MyProject4" -noxge -NoHotReload -ignorejunk. See logfile for details: 'UnrealBuildTool-2017.05.08-20.20.23.txt'
    LogPlayLevel: at AutomationTool.CommandUtils.RunAndLog(String App, String CommandLine, String Logfile, Int32 MaxSuccessCode, String Input, ERunOptions Options, Dictionary`2 EnvVars, SpewFilterCallbackType SpewFilterCallback)
    LogPlayLevel: at AutomationTool.CommandUtils.RunAndLog(CommandEnvironment Env, String App, String CommandLine, String LogName, Int32 MaxSuccessCode, String Input, ERunOptions Options, Dictionary`2 EnvVars, SpewFilterCallbackType SpewFilterCallback)
    LogPlayLevel: at AutomationTool.CommandUtils.RunUBT(CommandEnvironment Env, String UBTExecutable, String CommandLine, String LogName, Dictionary`2 EnvVars)
    LogPlayLevel: at AutomationTool.CommandUtils.RunUBT(CommandEnvironment Env, String UBTExecutable, FileReference Project, String Target, String Platform, String Config, String AdditionalArgs, String LogName, Dictionary`2 EnvVars)
    LogPlayLevel: at AutomationTool.UE4Build.BuildWithUBT(String TargetName, UnrealTargetPlatform TargetPlatform, String Config, FileReference UprojectPath, Boolean ForceMonolithic, Boolean ForceNonUnity, Boolean ForceDebugInfo, Boolean ForceFlushMac, Boolean DisableXGE, String InAddArgs, Boolean ForceUnity, Dictionary`2 EnvVars)
    LogPlayLevel: at AutomationTool.UE4Build.Build(BuildAgenda Agenda, Nullable`1 InDeleteBuildProducts, Boolean InUpdateVersionFiles, Boolean InForceNoXGE, Boolean InUseParallelExecutor, Boolean InForceNonUnity, Boolean InForceUnity, Boolean InShowProgress, Dictionary`2 PlatformEnvVars, Nullable`1 InChangelistNumberOverride, Dictionary`2 InTargetToManifest)
    LogPlayLevel: at Project.Build(BuildCommand Command, ProjectParams Params, Int32 WorkingCL, ProjectBuildTargets TargetMask)
    LogPlayLevel: at BuildCookRun.DoBuildCookRun(ProjectParams Params)
    LogPlayLevel: at BuildCookRun.ExecuteBuild()
    LogPlayLevel: at AutomationTool.BuildCommand.Execute()
    LogPlayLevel: at AutomationTool.Automation.Execute(List`1 CommandsToExecute, CaselessDictionary`1 Commands)
    LogPlayLevel: at AutomationTool.Automation.Process(String[] Arguments)
    LogPlayLevel: at AutomationTool.Program.MainProc(Object Param)
    LogPlayLevel: at AutomationTool.InternalUtils.RunSingleInstance(Func`2 Main, Object Param)
    LogPlayLevel: at AutomationTool.Program.Main()
    LogPlayLevel: Program.Main: AutomationTool exiting with ExitCode=5 (5)
    LogPlayLevel: Completed Launch On Stage: Build Task, Time: 51.551535
    LogPlayLevel: BUILD FAILED
    PackagingResults:Error: Error Launch failed! Unknown Error

    #2
    You have set the SDK API setting to android-24 which you don't appear to have installed. You can run android.bat and select to install Android 7.0 (API 24). You only need the SDK Platform.

    Comment


      #3
      Originally posted by Chris Babcock View Post
      You have set the SDK API setting to android-24 which you don't appear to have installed. You can run android.bat and select to install Android 7.0 (API 24). You only need the SDK Platform.
      Ok , i have device with 4.4.2 api 19 , i cant deloy apk .
      I use ndk12 !

      I got this error but also :

      LogPlayLevel: AndroidPlatform.Deploy: ERROR: minSdkVersion is higher than Android version installed on device, possibly due to NDK API Level

      Comment

      Working...
      X