Tiempo de lectura: 3 minutos
Reading Time: 2 minutes
Yes, we want to run our Unity project directly on our mobile device or tablet.
First, we need to enable developer options and USB debugging on our Android device. Connect the device to the computer using a USB cable.
Once configured, we can run the Unity project. Go to File > Build Settings.
Within Build Settings, select Android and click on Install With Unity Hub.
You will be prompted to install the SDK and JDK. Select Android Build Support and install OpenJDK and Android SDK & NDK Tools.
Next, the SDK license will appear, and you need to accept it to proceed. Check I have read and agree with the above terms and conditions and click on Install.
Now, wait for the installation to complete.
Once installed, click on Switch Platform to select Android as the target platform.