M just trying to open google chrome and putting an URL to open- getting error

DesiredCapabilities cap= new DesiredCapabilities();
	
	//device details
	cap.setCapability("deviceName","Oneplus2");
	cap.setCapability("platformName","Android");
	cap.setCapability("PlatformVersion","6.0.1");
	
	//chrome
cap.setCapability(CapabilityType.BROWSER_NAME, "Chrome");		
	
	AndroidDriver driver= new AndroidDriver(new URL("http://127.0.0.1:4723/wd/hub"), cap);
	Thread.sleep(6000);

//// driver.get(“http://books.rediff.com”);
driver.get(“google.com”);
Thread.sleep(6000);

below is the error log:

Aug 26, 2017 5:52:03 PM org.openqa.selenium.remote.ProtocolHandshake createSession
INFO: Detected dialect: OSS
Exception in thread “main” org.openqa.selenium.WebDriverException: No command or response codec has been defined. Unable to proceed
Build info: version: ‘3.5.2’, revision: ‘10229a9020’, time: ‘2017-08-21T17:54:21.164Z’
System info: host: ‘ADMIN-PC’, ip: ‘192.168.1.10’, os.name: ‘Windows 7’, os.arch: ‘amd64’, os.version: ‘6.1’, java.version: ‘1.8.0_101’
Driver info: driver.version: RemoteWebDriver
at org.openqa.selenium.remote.HttpCommandExecutor.execute(HttpCommandExecutor.java:154)
at org.openqa.selenium.remote.RemoteWebDriver.execute(RemoteWebDriver.java:641)
at io.appium.java_client.AppiumDriver.execute(AppiumDriver.java:180)
at org.openqa.selenium.remote.RemoteWebDriver.get(RemoteWebDriver.java:368)
at Day4Session4.driver_Bookkart.main(driver_Bookkart.java:31)