Mobile test automation has been performed in Robot Framework using IONIC 6 app with Appium and Android Studio. However, Xpath is getting changed after each build given by developer.
With no example etc… my question would be what kind of path are you using? Absolute or a Relative path? as that could be partly why?
There are many other reasons (dynamic ids etc…) but without any examples or further details it’s hard to say, you could also ask the developer to add an Id to that element in particular (not always possible, depending on how your company is set up) but could be a valid option.
Would be good to see an snippet + XPath, to add any possible value, without guessing.