Exception in thread "main" java.lang.NoSuchMethodError: org.openqa.selenium.remote.HttpCommandExecutor.<init>(Ljava/util/Map;Ljava/net/URL;Lorg/openqa/selenium/remote/http/HttpClient$Factory;)V

import java.awt.AWTException;
import java.awt.Robot;
import java.awt.event.KeyEvent;
import java.net.MalformedURLException;
import java.net.URL;
import java.util.concurrent.TimeUnit;

import org.openqa.selenium.support.ui.Select;
import org.junit.After;
import org.junit.Before;
import org.openqa.selenium.Alert;
import org.openqa.selenium.By;
import org.openqa.selenium.JavascriptExecutor;
import org.openqa.selenium.Keys;
import org.openqa.selenium.WebDriver;
import org.openqa.selenium.WebElement;
import org.openqa.selenium.remote.CapabilityType;
import org.openqa.selenium.remote.DesiredCapabilities;
import org.openqa.selenium.remote.RemoteWebDriver;
import org.openqa.selenium.support.ui.ExpectedConditions;
import org.openqa.selenium.support.ui.WebDriverWait;
import org.testng.annotations.Test;

import com.google.common.collect.ImmutableMap;

import io.appium.java_client.AppiumDriver;
import io.appium.java_client.android.AndroidDriver;

public class Mytimeline {
AndroidDriver driver;
//WebDriver driver;

// @Before
// public void setUp() throws MalformedURLException {
public static void main(String[] args) throws java.net.MalformedURLException, InterruptedException{
//WebDriver driver;
AndroidDriver driver;
// Created object of DesiredCapabilities class.
DesiredCapabilities caps = new DesiredCapabilities();

   caps.setCapability("deviceName", "Redmi");
   caps.setCapability("udid", "2936c8900304"); //Give Device ID of your mobile phone
   caps.setCapability("platformName", "Android");
   caps.setCapability("platformVersion", "7.0");
   caps.setCapability("appPackage", "com.finobot.finobot");
   caps.setCapability("appActivity", "com.finobot.finobot.activity.SplashScreenActivity");
  // caps.setCapability("browserName", "Chrome");
   caps.setCapability("noReset", true);
  // driver = (AndroidDriver) new RemoteWebDriver(new URL("http://127.0.0.1:4723/wd/hub"), caps);
driver =   new AndroidDriver(new URL("http://127.0.0.1:4723/wd/hub"),caps);
   // driver = new RemoteWebDriver(new URL("http://127.0.0.1:4723/wd/hub"), caps);
    driver.manage().timeouts().implicitlyWait(15, TimeUnit.SECONDS);
    Thread.sleep(6000);