title: Appium Error :Exception in thread "main" org.openqa.selenium.SessionNotCreatedException: Unable to create a new remote session
body: <p>I am new to Appium. I am trying to run a test using Appium test case on my Android emulator to open Chrome browser and search for "google.com" </p>
  
  <p>I have tried many things to resolve my issue: </p>
  
  <p>1.update chrome on my Android emulator browser</p>
  
  <p>2.update the Maven dependencies and the java client</p>
  
  <p>3.restarting appium server. </p>
  
  <p>and many things more</p>
  
  <p>I am attaching both pics and posting the code for easier analyzing of the problem.</p>
  
  <p>TestWebBrowser.java Code:</p>
  
  <pre><code>public static AppiumDriver&lt;MobileElement&gt; driver; 
  public static void main(String[] args) throws MalformedURLException  {
  
  DesiredCapabilities capabilities = new DesiredCapabilities();   
  capabilities.setCapability(CapabilityType.BROWSER_NAME, "Chrome");
  capabilities.setCapability(MobileCapabilityType.DEVICE_NAME, "Test_Demo");
  capabilities.setCapability(MobileCapabilityType.PLATFORM_NAME, "Android");
  capabilities.setCapability(MobileCapabilityType.PLATFORM_VERSION, "7.1.1");
  driver = new AndroidDriver&lt;MobileElement&gt; (new URL("https://127.0.0.1:4723/wd/hub"), capabilities);
  driver.get("http://google.com");
  driver.manage().timeouts().implicitlyWait(10, TimeUnit.SECONDS);
  driver.quit();
  }
  </code></pre>
  
  <p>POM.xml Appium dependency used:</p>
  
  <pre><code>&lt;dependencies&gt;
  &lt;dependency&gt;
    &lt;groupId&gt;io.appium&lt;/groupId&gt;
    &lt;artifactId&gt;java-client&lt;/artifactId&gt;
    &lt;version&gt;7.0.0&lt;/version&gt;
  &lt;/dependency&gt;
  &lt;/dependencies&gt;
  </code></pre>
  
  <p>Error Description below (thought a pic would be better than copy-paste of the error):
  <a href="https://i.stack.imgur.com/w2RvP.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/w2RvP.png" alt="error description in eclipse console"></a></p>
  
  <p>Please let me know if I am doing anything fundamentally wrong. It might be a noob mistake. But couldn't find much help with the other stackoverflow questions.</p>