You might get the following error after the APK builds and starts to copy to the device, “CommandInvokationFailure: Unable to install APK to device. Please make sure the Android SDK is installed and is properly configured in the Editor. See the Console for more details.”
This is fixed by uninstalling the app made in a previous version of Unity from the device.