Get.pagesource() is not returning elements on the Pop-up window in android emulator through appium

I have 2 elements on the pop-up window. I can able to locate elements through UIautomatorviewer. But, when I run my script to click on one element on the pop-up window i am not able to click on it…In appium logs I see that source params but no elements are displaying.I tried to find out using pagesource method. It is not returning the pop-up window elements at all.I tried switchTo (), touchaction, windowHandle(), tap by coordinates. Nothing is working.I have appium 1.6.2, android 7 with API 25 and node 4.2.3. Can someone help me on this issue.

Thanks in advance!!!