Android SDK License Issue

I’ve been running into problems publishing the AR Template to my Android Moto X4. It will publish to my device but when I try to open it, it crashes every time. I was looking through the forums trying to find a fix and I was working with this post: Android / ARCore does not correctly deploy with 4.21 - Mobile - Unreal Engine Forums

After pulling the package.xml from github though, I now have a problem where I need to re-accept the SDK License in my project settings, but when I click on that I get an error window stating “Invalid License!” and I’m not sure what I can do to remedy that issue.