How to handle Alert popups in Android device?

I Can’t able to capture popups using Test Project Recorder. When handling it manually, it leads to failure of the upcoming test steps.

Can you Please suggest me a solution for this