Appium tests executing on particular devices


I’m able to execute my test on SAMSUNG S3, but when I try to execute the same test on HTC M8, the test fails to execute.
I tried on various SAMSUNG devices S3, & S5, the tests executed perfectly.
But when the same tests are executed on HTC M8 ,the tests fail.
Wanted to resolve this issue, asap, since its a high priority. Quick help appreciated.

APPIUM version used was - AppiumForWindows-0.17.6
Kindly let know how to resolve the issue.