.click() only works sometimes on Android


my setup:
MacOS Yosemite
Appium 1.3.4 & 1.3.5
Android (emulated) 4.4.2

I’m testing a hybrid app and I’m trying to do a simple .click() on an element. This works fine on iOS, but on Android it works sometimes, roughly 1/5 of the times. I’m really stuck on this one and would appreciate any help!

my code:

MobileElement me = (MobileElement)driver.findElementByXPath(constants.XPATH_ACCOUNTS_LOGIN_BUTTON); 

Any ideas why it only works sometimes on the Android? I do no changes between my tests. Sometimes it works and sometimes it doesn’t.

I’ve tried to use driver.tap() instead, but same results. I also tried to upgrade to Appium 1.3.5 but then it was worse, perhaps it works 1/10 then.

Appium log:

info: [debug] [BOOTSTRAP] [debug] Got command of type ACTION
info: [debug] [BOOTSTRAP] [debug] Got command action: click
info: [debug] [BOOTSTRAP] [debug] Returning result: {"value":true,"status":0}
info: [debug] Responding to client with success: {"status":0,"value":true,"sessionId":"528dab50-5d32-42ed-8921-c95661742665"}
info: <-- POST /wd/hub/session/528dab50-5d32-42ed-8921-c95661742665/element/20/click 200 1537.675 ms - 76 {"status":0,"value":true,"sessionId":"528dab50-5d32-42ed-8921-c95661742665"}
info: --> POST /wd/hub/session/528dab50-5d32-42ed-8921-c95661742665/element {"using":"xpath","value":"//android.widget.ListView[1]/android.widget.LinearLayout[6]/android.widget.RelativeLayout[1]/android.widget.TextView[1]"}