How to handle Android native alert on a webview?

There is an Android native alert above a webview. And I try the API(using appium nodejs) below but it doesn’t work.

driver.acceptAlert()

And then any next commands will receive an UnexpectedAlertOpen error. How can I close this popup?

Please add a screenshot from appium