In other cases, you might get an error saying that no provisioned Android device is connected.
This just means that the device is not recognized; as you might know, a provisioning profile is not required to run an application on Android devices.
How to do it…
In such cases, we will close Xcode and restart it again. Otherwise, we can disconnect the device and reconnect it again. Usually, this fixes the problem.
Also, we will make sure that in the project settings in SpriteBuilder, Enable MTP to transfer to devices is unselected.