Solutions:
- Edit File “path\to\your\NVPACK\android-sdk-windows\licenses\android-sdk-license” - in my case there was a blank line in front of the the license id. Remove it so it only contains the license id.
Replace your Engine/Source/Third Party/Android/package.xml with the newer one https://github.com/EpicGames/UnrealEngine/blob/4.22/Engine/Source/ThirdParty/Android/package.xml to make gradle work again - You MUST package with Gradle. ARCore is not bundled with ANT.
- Don’t choose your latest SDK/NDK in project settings. On my machine it works fine with “android-21”