While packaging for android i am getting this unususal error someone please help

BUILD FAILED
UATHelper: Packaging (Android (All)): UnrealBuildTool: [javac] 20 errors
UATHelper: Packaging (Android (All)): UnrealBuildTool: C:\android-sdk-windows\tools\ant\build.xml:716: The following error occurred while executing this line:
UATHelper: Packaging (Android (All)): UnrealBuildTool: [javac] 3 warnings
UATHelper: Packaging (Android (All)): UnrealBuildTool: C:\android-sdk-windows\tools\ant\build.xml:730: Compile failed; see the compiler error output for details.
UATHelper: Packaging (Android (All)): UnrealBuildTool:
UATHelper: Packaging (Android (All)): UnrealBuildTool: Total time: 23 seconds
UATHelper: Packaging (Android (All)): UnrealBuildTool: UnrealBuildTool Exception: System.IO.FileNotFoundException: Could not find file ‘C:\Users\praj4\Documents\Unreal Projects\MyProject\Intermediate/Android/APK/bin/MyProject-debug.apk’.
UATHelper: Packaging (Android (All)): UnrealBuildTool: File name: ‘C:\Users\praj4\Documents\Unreal Projects\MyProject\Intermediate/Android/APK/bin/MyProject-debug.apk’
UATHelper: Packaging (Android (All)): UnrealBuildTool: at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)
UATHelper: Packaging (Android (All)): UnrealBuildTool: at System.IO.File.InternalCopy(String sourceFileName, String destFileName, Boolean overwrite, Boolean checkHost)
UATHelper: Packaging (Android (All)): 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)
UATHelper: Packaging (Android (All)): UnrealBuildTool: at UnrealBuildTool.UEDeployAndroid.PrepTargetForDeployment(UEBuildTarget InTarget)
UATHelper: Packaging (Android (All)): UnrealBuildTool: at UnrealBuildTool.UnrealBuildTool.DoPostStartupStuffThatCanAccessConfigs(String[] Arguments)
UATHelper: Packaging (Android (All)): CommandUtils.Run: Run: Took 82.1130156s to run UnrealBuildTool.exe, ExitCode=5
UATHelper: Packaging (Android (All)): Program.Main: ERROR: AutomationTool terminated with exception: AutomationTool.CommandUtils+CommandFailedException: Command failed (Result:5): C:\Program Files (x86)\Epic Games\4.14\Engine\Binaries\DotNET\UnrealBuildTool.exe MyProject Android Development -Project=“C:\Users\praj4\Documents\Unreal Projects\MyProject\MyProje
ct.uproject” “C:\Users\praj4\Documents\Unreal Projects\MyProject\MyProject.uproject” -remoteini=“C:\Users\praj4\Documents\Unreal Projects\MyProject” -noxge -NoHotReload -ignorejunk. See logfile for details: ‘UnrealBuildTool-2017.01.06-22.43.23.txt’
UATHelper: Packaging (Android (All)): at AutomationTool.CommandUtils.RunAndLog(String App, String CommandLine, String Logfile, Int32 MaxSuccessCode, String Input, ERunOptions Options, Dictionary2 EnvVars, SpewFilterCallbackType SpewFilterCallback) UATHelper: Packaging (Android (All)): at AutomationTool.CommandUtils.RunAndLog(CommandEnvironment Env, String App, String CommandLine, String LogName, Int32 MaxSuccessCode, String Input, ERunOptions Options, Dictionary2 EnvVars, SpewFilterCallbackType SpewFilterCallback)
UATHelper: Packaging (Android (All)): at AutomationTool.CommandUtils.RunUBT(CommandEnvironment Env, String UBTExecutable, String CommandLine, String LogName, Dictionary2 EnvVars) UATHelper: Packaging (Android (All)): at AutomationTool.CommandUtils.RunUBT(CommandEnvironment Env, String UBTExecutable, FileReference Project, String Target, String Platform, String Config, String AdditionalArgs, String LogName, Dictionary2 EnvVars)
UATHelper: Packaging (Android (All)): 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, Dictionary2 EnvVars) UATHelper: Packaging (Android (All)): at AutomationTool.UE4Build.Build(BuildAgenda Agenda, Nullable1 InDeleteBuildProducts, Boolean InUpdateVersionFiles, Boolean InForceNoXGE, Boolean InUseParallelExecutor, Boolean InForceNonUnity, Boolean InForceUnity, Boolean InShowProgress, Dictionary2 PlatformEnvVars, Nullable1 InChangelistNumberOverride, Dictionar
y2 InTargetToManifest) UATHelper: Packaging (Android (All)): at Project.Build(BuildCommand Command, ProjectParams Params, Int32 WorkingCL, ProjectBuildTargets TargetMask) UATHelper: Packaging (Android (All)): at BuildCookRun.DoBuildCookRun(ProjectParams Params) UATHelper: Packaging (Android (All)): at BuildCookRun.ExecuteBuild() UATHelper: Packaging (Android (All)): at AutomationTool.BuildCommand.Execute() UATHelper: Packaging (Android (All)): at AutomationTool.Automation.Execute(List1 CommandsToExecute, CaselessDictionary1 Commands) UATHelper: Packaging (Android (All)): at AutomationTool.Automation.Process(String[] Arguments) UATHelper: Packaging (Android (All)): at AutomationTool.Program.MainProc(Object Param) UATHelper: Packaging (Android (All)): at AutomationTool.InternalUtils.RunSingleInstance(Func2 Main, Object Param)
UATHelper: Packaging (Android (All)): at AutomationTool.Program.Main()
UATHelper: Packaging (Android (All)): Program.Main: AutomationTool exiting with ExitCode=5 (5)
UATHelper: Packaging (Android (All)): BUILD FAILED
PackagingResults:Error: Error Unknown Error

KingKhan007,

Are you able to package a blank project for Android? What about packaging for ETC1 or ETC2? Plese upload a screenshot of your Android SDK settings from the Project Settings.

Thank you!

Thanks but I found the solution somehow.
I had set the jdk path to wrong directory.
Big thanks for your support Epic

Glad you were able to resolve your issue. Please let us know if you have any further questions.