Targeting an element

Hi all
I am using appiumLibrary for robot framework for testing android app. but the issue is, the element I want to select does not have any of the following to target:
text, resource-Id, content-desc, accessibilityId. it only have xPath which is quite long.
how to target an element for this kind of scenarios.

I would take a look at some guides on building dynamic xpath. In most cases you can take that long xpath and cut it down using some of these methods: