Some time my appium code run successfully but sometimes it throws the no such element or timeout exception I used explicit wait I don't know where is the problem pls help me

i used android device and linux