Check your Build Target (if using Unity IAP)
Before you build your UDP game build, make sure the Unity IAP build target for Android is set to “Unity Distribution Portal”:
Failure to do so will typically prompt errors such as “Error: no UDP SDK detected” when your game is repacked for submission to the stores.