{"action":"created","issue":{"url":"https://api.github.com/repos/appium/appium/issues/6247","repository_url":"https://api.github.com/repos/appium/appium","labels_url":"https://api.github.com/repos/appium/appium/issues/6247/labels{/name}","comments_url":"https://api.github.com/repos/appium/appium/issues/6247/comments","events_url":"https://api.github.com/repos/appium/appium/issues/6247/events","html_url":"https://github.com/appium/appium/issues/6247","id":139231307,"number":6247,"title":"Appium - Emulator not running error ","user":{"login":"JamesPere","id":6763784,"avatar_url":"https://avatars.githubusercontent.com/u/6763784?v=3","gravatar_id":"","url":"https://api.github.com/users/JamesPere","html_url":"https://github.com/JamesPere","followers_url":"https://api.github.com/users/JamesPere/followers","following_url":"https://api.github.com/users/JamesPere/following{/other_user}","gists_url":"https://api.github.com/users/JamesPere/gists{/gist_id}","starred_url":"https://api.github.com/users/JamesPere/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/JamesPere/subscriptions","organizations_url":"https://api.github.com/users/JamesPere/orgs","repos_url":"https://api.github.com/users/JamesPere/repos","events_url":"https://api.github.com/users/JamesPere/events{/privacy}","received_events_url":"https://api.github.com/users/JamesPere/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/appium/appium/labels/Android","name":"Android","color":"ADFF2F"},{"url":"https://api.github.com/repos/appium/appium/labels/GUI","name":"GUI","color":"c4b5d9"},{"url":"https://api.github.com/repos/appium/appium/labels/Windows","name":"Windows","color":"207de5"}],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":11,"created_at":"2016-03-08T09:59:29Z","updated_at":"2016-03-15T21:40:13Z","closed_at":"2016-03-10T17:27:54Z","body":"## The problem\r\n\r\nUnable to run tests against android emulator\r\n\r\n## Environment\r\n\r\n* Appium version (or git revision) that exhibits the issue: 1.4.16.1\r\n* Last Appium version that did not exhibit the issue (if applicable):\r\n* Desktop OS/version used to run Appium: Windows 7\r\n* Node.js version (unless using Appium.app|exe): Appium.exe\r\n* Mobile platform/version under test: Android 6.0 Marshmellow\r\n* Real device or emulator/simulator: Emulator\r\n* Appium CLI or Appium.app|exe: Appium.exe\r\n\r\n## Details\r\n\r\nThe tests start to run, appium recognises this and then launches the android emulator.  When the emulator has loaded up, the tests end up timing out and the message \"info: [debug] Emulator Default2 not running\" is repeated (Default2 is the name of my avd).\r\n\r\n## Link to Appium logs\r\n\r\nAppium Log: https://gist.github.com/JamesPere/11101b008e715914d5a4\r\n\r\n\r\n## Code To Reproduce Issue [ Good To Have ]\r\n\r\nI am using the Appium dot net bindings, here is the code I am using:\r\n\r\nusing System;\r\nusing NUnit.Framework;\r\nusing OpenQA.Selenium;\r\nusing OpenQA.Selenium.Remote;\r\nusing OpenQA.Selenium.Appium;\r\nusing OpenQA.Selenium.Appium.Android;\r\n\r\nnamespace AppiumDriverDemo\r\n{\r\n    [TestFixture()]\r\n    public class ProgramTest\r\n    {\r\n        private AppiumDriver<AppiumWebElement> driver;\r\n\r\n        [TestFixtureSetUp]\r\n        public void beforeAll()\r\n        {\r\n            DesiredCapabilities capabilities = new DesiredCapabilities();\r\n\r\n            capabilities.SetCapability(\"deviceName\", \"Default2\");\r\n           capabilities.SetCapability(\"platformName\", \"Android\");\r\n           capabilities.SetCapability(\"appPackage\", \"com.android.calculator2\");\r\n           capabilities.SetCapability(\"appActivity\", \"com.android.calculator2.Calculator\");\r\n            driver = new AndroidDriver<AppiumWebElement>(\r\n                           new Uri(\"http://127.0.0.1:4723/wd/hub\"),\r\n                               capabilities);\r\n        }\r\n\r\n        [TestFixtureTearDown]\r\n        public void afterAll()\r\n        {\r\n            // shutdown\r\n            driver.Quit();\r\n        }\r\n\r\n        public void TestCalculator()\r\n        {\r\n\r\n            var two = driver.FindElement(By.Name(\"2\"));\r\n            two.Click();\r\n            var plus = driver.FindElement(By.Name(\"+\"));\r\n            plus.Click();\r\n            var four = driver.FindElement(By.Name(\"4\"));\r\n            four.Click();\r\n            var equalTo = driver.FindElement(By.Name(\"=\"));\r\n            equalTo.Click();\r\n\r\n            var results = driver.FindElement(By.ClassName(\"android.widget.EditText\"));\r\n\r\n            Assert.AreEqual(\"6\", results.Text);\r\n        }\r\n\r\n        [Test()]\r\n        public void AppiumDriverMethodsTestCase()\r\n        {\r\n            // Using appium extension methods\r\n            AppiumWebElement el = driver.FindElementByAccessibilityId(\"1\");\r\n            el.SendKeys(\"abc\");\r\n            Assert.AreEqual(el.Text, \"abc\");\r\n        }\r\n    }\r\n\r\n}\r\n\r\nHere are my appium settings\r\n![image](https://cloud.githubusercontent.com/assets/6763784/13598079/df6eee9c-e513-11e5-8c85-0ede002e2a31.png)\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/appium/appium/issues/comments/197033774","html_url":"https://github.com/appium/appium/issues/6247#issuecomment-197033774","issue_url":"https://api.github.com/repos/appium/appium/issues/6247","id":197033774,"user":{"login":"scottdixon","id":4726068,"avatar_url":"https://avatars.githubusercontent.com/u/4726068?v=3","gravatar_id":"","url":"https://api.github.com/users/scottdixon","html_url":"https://github.com/scottdixon","followers_url":"https://api.github.com/users/scottdixon/followers","following_url":"https://api.github.com/users/scottdixon/following{/other_user}","gists_url":"https://api.github.com/users/scottdixon/gists{/gist_id}","starred_url":"https://api.github.com/users/scottdixon/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/scottdixon/subscriptions","organizations_url":"https://api.github.com/users/scottdixon/orgs","repos_url":"https://api.github.com/users/scottdixon/repos","events_url":"https://api.github.com/users/scottdixon/events{/privacy}","received_events_url":"https://api.github.com/users/scottdixon/received_events","type":"User","site_admin":false},"created_at":"2016-03-15T21:40:13Z","updated_at":"2016-03-15T21:40:13Z","body":"Interesting @lvconley - please keep us posted."}}