Delete Environment variable of android sdk and both ndk, close the project
now run the Batch file in C:\Program Files\Epic Games\UE_5.3\Engine\Extras\Android/ bat file. now open the project and put build.