"Invalid License" when trying to accept Android SDK License

I’ve been having issues with the AR Template app crashing when I launch it on my Android device. I was browsing the forums and was doing the steps here: Android / ARCore does not correctly deploy with 4.21 - Mobile - Unreal Engine Forums

After I did the update of the package.xml document and fired up my project, it is now asking me to accept the SDK License again, but when I click accept I get an error window saying “Invalid License!”