Facing some problems with appium

HI all

im currently using appium for testing
im facing one issue with xpath for locating buttons and control

for example im using apkpure app and locating management control

here is my sample code

driver.findElementByXPath("//android.widget.HorizontalScrollView[@index=‘1’]/android.widget.LinearLayout[index=‘0’]/android.support.v7.a.d[@index=‘1’]/android.widget.TextView:Games[@index=‘0’]").click();

@kshitij_bhargava, you haven’t explained what your failure is. Presumably you can’t find the element you are looking for. It would help to show the screen and xml hierarchy (i.e. through uiautomatorviewer), as well as the appium_server log output