UIAutomatorVIewer

While clicking on UIAutomatorVIewer batch file for opening UI automator tool, CMD window opened for 2-3 seconds and got crashed, Please help to starting UI automator tool to proceed further