still facing the same problem
used the command
driver.findElement(MobileBy.name("MyApp")).Click();
appium 1.4.16.1 it is working debug messages as follows
info: --> POST /wd/hub/session/78d80129-b6b0-42a6-8a8d-77491efea950/element {"using":"name","value":"MyApp"}
info: [debug] Waiting up to 0ms for condition
info: [debug] Pushing command to appium work queue: ["find",{"strategy":"name","selector":"MyApp","context":"","multiple":false}]
info: [debug] [BOOTSTRAP] [debug] Got data from client: {"cmd":"action","action":"find","params":{"strategy":"name","selector":"MyApp","context":"","multiple":false}}
info: [debug] [BOOTSTRAP] [debug] Got command of type ACTION
info: [debug] [BOOTSTRAP] [debug] Got command action: find
info: [debug] [BOOTSTRAP] [debug] Finding MyApp using NAME with the contextId: multiple: false
info: [debug] [BOOTSTRAP] [debug] Using: UiSelector[DESCRIPTION=MyApp, INSTANCE=0]
info: [debug] [BOOTSTRAP] [debug] Returning result: {"status":0,"value":{"ELEMENT":"1"}}
info: [debug] Responding to client with success: {"status":0,"value":{"ELEMENT":"1"},"sessionId":"78d80129-b6b0-42a6-8a8d-77491efea950"}
info: <-- POST /wd/hub/session/78d80129-b6b0-42a6-8a8d-77491efea950/element 200 65.656 ms - 87 {"status":0,"value":{"ELEMENT":"1"},"sessionId":"78d80129-b6b0-42a6-8a8d-77491efea950"}
info: --> POST /wd/hub/session/78d80129-b6b0-42a6-8a8d-77491efea950/element/1/click {"id":"1"}
info: [debug] Pushing command to appium work queue: ["element:click",{"elementId":"1"}]
info: [debug] [BOOTSTRAP] [debug] Got data from client: {"cmd":"action","action":"element:click","params":{"elementId":"1"}}
info: [debug] [BOOTSTRAP] [debug] Got command of type ACTION
info: [debug] [BOOTSTRAP] [debug] Got command action: click
info: [debug] [BOOTSTRAP] [debug] Returning result: {"status":0,"value":true}
info: [debug] Responding to client with success: {"status":0,"value":true,"sessionId":"78d80129-b6b0-42a6-8a8d-77491efea950"}
info: <-- POST /wd/hub/session/78d80129-b6b0-42a6-8a8d-77491efea950/element/1/click 200 186.314 ms - 76 {"status":0,"value":true,"sessionId":"78d80129-b6b0-42a6-8a8d-77491efea950"}
Appium 1.6.3
HTTP] --> POST /wd/hub/session/fe618bfd-4a70-44e0-a0be-b0f2000878af/element {"u
sing":"name","value":" MyApp"}
[debug] [MJSONWP] Calling AppiumDriver.findElement() with args: ["name","MyApp","fe618bfd-4a70-44e0-a0be-b0f2000878af"]
[debug] [BaseDriver] Valid locator strategies for this request: xpath, id, class
name, accessibility id, -android uiautomator
[HTTP] <-- POST /wd/hub/session/fe618bfd-4a70-44e0-a0be-b0f2000878af/element 500
22 ms - 144
[HTTP] --> GET /wd/hub/session/fe618bfd-4a70-44e0-a0be-b0f2000878af/screenshot {
}
please advice