How to fix AR build failed?

I went back to Project Settings>Platform>Android SDK and adjusted SDK API and NDK API from “latest” to 21 and it failed.