How to deal with android toast by appium

on android real device , I want to get android toast’s text。please help me

You can’t get the toast through Appium because Android doesn’t provide a way to get the toast. This issue has been discussed before. See Verifying Toast