Why same xpath is not working for different android emulators(NATIVE)?

hi,

I have a native android app in two different android emulators. I want to know why same xpath is not working for different android emulators?

Thank you

@Omesh_Dhanushka cause it is not the same with different android versions.

@Aleksei why is that ?

Due to specific of each android version. The same applies to iOS.

Thank you @Aleksei . Really appreciate your contribution.