Unreal Engine 파일을 Android 장치로 실행하기 위해 WindowsWorks PC에 CodeWorksforAndroid 1R6을 성공적으로 설치했습니다.FirstPersonExample Map을 android에 배포하는 중 오류가 발생했습니다.
나는 언리얼 엔진 FirstPersonExampleMap의 starterkit (청사진) 파일을 가지고 android에서 실행할 수 있습니다.
실행기가 연결된 Android 기기를 보여줍니다. 내가 안드로이드 장치를 선택하면 프로세스가 시작되고 depolying 동안 나는 오류가 발생하고 BUILD가 실패하게됩니다.
문제를 해결하는 데 도움을주십시오. 오류
-
====17-04-2017 07:09:09====UPDATING BUILD CONFIGURATION FILES====================================================
LogPlayLevel: Error: Target id 'android-19' is not valid. Use 'android.bat list targets' to get the target ids.
LogPlayLevel: UEDeployAndroid.RunCommandLineProgramWithException: Updating project.properties, local.properties, and build.xml for downloader_library...
LogPlayLevel: Error: Target id 'android-19' is not valid. Use 'android.bat list targets' to get the target ids.
LogPlayLevel: Error: Target id 'android-19' is not valid. Use 'android.bat list targets' to get the target ids.
가 이미
내 Android 휴대 전화를 설정하는 프로젝트의 안드로이드 SDK를, 안드로이드 NDK 위치를 업데이트 한 안드로이드 버전 5.0.2
듀얼 심 HTC 하나 E9s입니다 업데이트
나는 project.properties를 확인했습니다. 여기서 android-target은 proje의 NDK API 레벨에서 언급 한 19 (android-19)입니다. 언리얼 에디터의 ct 설정. 아직도 감지하지 못합니다.
새로운 오류
LogPlayLevel: ====17-04-2017 10:36: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: C:\NVPACK\android-sdk-windows\tools\ant\build.xml:538: Application package '' must have a minimum of 2 segments.
LogPlayLevel: Total time: 7 seconds
LogPlayLevel: UEDeployAndroid.RunCommandLineProgramAndReturnResult: Making .apk with Ant again to show errors
LogPlayLevel: Buildfile: C:\Users\Amul\Documents\Unreal Projects\MobFP\Intermediate\Android\APK\build.xml
LogPlayLevel: [getbuildtools] Using latest Build Tools: 24.0.0
LogPlayLevel: -set-mode-check:
LogPlayLevel: -set-debug-files:
LogPlayLevel: -check-env:
LogPlayLevel: [checkenv] Android SDK Tools Revision 24.4.1
LogPlayLevel: [checkenv] Installed at C:\NVPACK\android-sdk-windows
LogPlayLevel: -setup:
LogPlayLevel: [echo] Project Name: MobFP
LogPlayLevel: [gettype] Project Type: Application
LogPlayLevel: -set-debug-mode:
LogPlayLevel: -debug-obfuscation-check:
LogPlayLevel: -pre-build:
LogPlayLevel: -build-setup:
LogPlayLevel: [getbuildtools] Using latest Build Tools: 24.0.0
LogPlayLevel: [echo] Resolving Build Target for MobFP...
LogPlayLevel: [gettarget] Project Target: Android 4.4.2
LogPlayLevel: [gettarget] API level: 19
LogPlayLevel: BUILD FAILED
LogPlayLevel: C:\NVPACK\android-sdk-windows\tools\ant\build.xml:538: Application package '' must have a minimum of 2 segments.
LogPlayLevel: Total time: 4 seconds
LogPlayLevel: Program.Main: ERROR: AutomationTool terminated with exception: System.IO.DirectoryNotFoundException: Could not find a part of the path 'C:\Users\Amul\Documents\Unreal Projects\MobFP\Intermediate/Android/APK/bin/MobFP-debug.apk'.
LogPlayLevel: at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)
LogPlayLevel: at System.IO.File.InternalCopy(String sourceFileName, String destFileName, Boolean overwrite, Boolean checkHost)
LogPlayLevel: 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 bDisallowExternalFilesDir)
LogPlayLevel: at UnrealBuildTool.UEDeployAndroid.PrepForUATPackageOrDeploy(FileReference ProjectFile, String ProjectName, String ProjectDirectory, String ExecutablePath, String EngineDirectory, Boolean bForDistribution, String CookFlavor, Boolean bIsDataDeploy)
LogPlayLevel: at AndroidPlatform.Deploy(ProjectParams Params, DeploymentContext SC)
LogPlayLevel: at Project.Deploy(ProjectParams Params)
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=1 (Error_Unknown)
LogPlayLevel: Completed Launch On Stage: Deploy Task, Time: 264.869673
LogPlayLevel: BUILD FAILED
PackagingResults:Error: Error Launch failed! Unknown Error
JKovalsky - 당신이 놀랐어 !!!, 위의 오류에 대한 해결책을 주셔서 감사합니다. 그러나 새로운 오류가 발생했습니다. 죄송합니다. 위의 '새로운 오류'를 추가했습니다.이 문제를 도와 줄 수 있습니까 ?? 고맙습니다. 어쨌든 –
@GaganAhuja "Android 설정"-> "플랫폼 -> Android"필드에서 "Android 패키지 이름"필드를 제거하지 않았습니까? "com.YourCompany.YourProject"와 같은 것으로 설정하십시오. – JKovalsky
JKovalsky - 오 새 오류로 죄송합니다. 정식으로 1000 번 고맙습니다. 당신은 내 시간을 구해주었습니다. 신의 축복이있어. 고마워. 마침내 내 모바일에 성공적으로 시작 .. –