I am unable to perform drag and drop action using below code in Android Hybrid App using Appium.
Platform : Appium with windows
Option 1
new TouchAction(driver).longPress(ele1).moveTo(ele2).release.perform();
Option 2
new TouchAction(driver).longPress(ele1).moveTo(ele2, 252, 180).release.perform();
Option 3
new TouchAction(driver).longPress(ele1, 252, 152).moveTo(ele2, 252, 180).release.perform();
Appium version: 1.4.13 ; Android OS: 4.4.2
Error: Appium throws an error like it did not perform drag action successfully.
--- log appium server ---- info: [debug] [BOOTSTRAP] [debug] Returning result: {"value":"Did not drag successfully","status":13}
Note: I tried in both Horizontal and Vertical perspective but no luck.