Facing problem to click on Image object in Chrome

Hi,

I am unable to click on a simple Sign-In Image using latest Appium 1.6.4

Configuration:
Appium: 1.6.4
Mobile OS: Android 6
ChromeDriver: 2.29.461591

caps=new DesiredCapabilities();
caps.setCapability(“deviceName”, strDeviceName);
caps.setCapability(“browserName”, “Chrome”);
caps.setCapability(“platformname”,“Android”);
caps.setCapability(“appPackage”,“com.android.chrome”);
caps.setCapability(“appActivity”,“com.google.android.apps.chrome.Main”);
/caps.setCapability(CapabilityType.BROWSER_NAME, “”);
caps.setCapability(ChromeOptions.CAPABILITY, options);
/
try {
driver=new AndroidDriver(new URL(“http://127.0.0.1:4723/wd/hub”),caps);
} catch (MalformedURLException e)
{
// TODO Auto-generated catch block
e.printStackTrace();
}

//Navigate to site
driver.get(“http://newtours.demoaut.com/”);
Thread.sleep(5000);

	//SignIn into the application
	driver.findElementByXPath("//input[@name='userName']").sendKeys("udayanem");
	driver.findElementByXPath("//input[@name='password']").sendKeys("V@ud@ynvu80");
	
	
        //driver.findElementByXPath("//input[@name='login']").click();
	driver.findElementByName("login").click();

It is not clicking on the sign In image of type input. Can someone let me know what is the problem here?