title: Python Appium Cannot Remote Emulator
body: <p>I was try running manual appium is work to open my emulator in appium inspector, and then i try create simple script. here is my script :</p>
  <pre><code>from appium import webdriver
  import time
  
  desired_capabilities = {}
  
  desired_capabilities['appPackage'] = 'com.facebook.lite'
  desired_capabilities['appActivity'] = 'com.facebook.lite.MainActivity'
  desired_capabilities['platformName'] = 'Android'
  desired_capabilities['deviceName'] = 'VirtualDevice'
  desired_capabilities['udid'] = 'emulator-5554'
  
  driver = webdriver.Remote('http://127.0.0.1:4723/wd/hub/', desired_capabilities)
  </code></pre>
  <p>but after run the script show this error :</p>
  <pre><code>Traceback (most recent call last):
    File &quot;c:/Users/ATHAMZ-PC/Desktop/Python ADB/Python Bot/fb.py&quot;, line 12, in &lt;module&gt;
      driver = webdriver.Remote('http://127.0.0.1:4723/wd/hub/', desired_capabilities)
    File &quot;C:\Users\ATHAMZ-PC\AppData\Local\Programs\Python\Python37\lib\site-packages\appium\webdriver\webdriver.py&quot;, line 274, in __init__
      AppiumConnection(command_executor, keep_alive=keep_alive), desired_capabilities, browser_profile, proxy
    File &quot;C:\Users\ATHAMZ-PC\AppData\Local\Programs\Python\Python37\lib\site-packages\selenium\webdriver\remote\webdriver.py&quot;, line 268, in __init__
      self.start_session(capabilities, browser_profile)
    File &quot;C:\Users\ATHAMZ-PC\AppData\Local\Programs\Python\Python37\lib\site-packages\appium\webdriver\webdriver.py&quot;, line 364, in start_session
      response = self.execute(RemoteCommand.NEW_SESSION, parameters)
    File &quot;C:\Users\ATHAMZ-PC\AppData\Local\Programs\Python\Python37\lib\site-packages\selenium\webdriver\remote\webdriver.py&quot;, line 424, in execute
      self.error_handler.check_response(response)
    File &quot;C:\Users\ATHAMZ-PC\AppData\Local\Programs\Python\Python37\lib\site-packages\selenium\webdriver\remote\errorhandler.py&quot;, line 247, in check_response
      raise exception_class(message, screen, stacktrace)
  selenium.common.exceptions.WebDriverException: Message: The requested resource could not be found, or a request was received using an HTTP method that is not supported by the mapped resource
  </code></pre>
  <p>whats is wrong with my script?</p>
  <p>appium and inspector image to reference
  <a href="https://i.stack.imgur.com/7t8Q6.png" rel="nofollow noreferrer">Appium Inspector</a>
  <a href="https://i.stack.imgur.com/bYO9N.png" rel="nofollow noreferrer">Appium Server</a></p>