How to test the Unity Game on the Mobile phone for Android

 


testing your game on a mobile phone if you made a game for Android or ios is one of the most interesting things in your journey of game development in this article I will show you how to do this process Step-by-Step:


1- Make sure that you make  a KeyStore if you don't, You have to make one!


2- Before concluding the testing phase, ensure to add your Keystore in the publishing settings. 


3- Also Make sure you download and install the necessary Android SDK components(in Unity Hub) and JDK (Java Development Kit). Make sure to follow the instructions and download the required components to enable Android development in Unity.


4- Select the project for which you want to enable Android development. Then, In the Unity Editor, go to File -> Build Settings. Then, In the Build Settings window, select the Android platform from the list on the left.



5- Take the USB connector from your device and plug it into the USB port on your laptop. Ensure that you align the connector correctly and connect it to your mobile 


6- Then click build or build and run.


7- If you have any problem do like this 



choose your minimum  API Level and Target API Level in the other setting:

Go to the File-> Build setting-> Player setting-> other settings, And change the Scripting Backned from Mono to IL2CPP and check the ARM64 (this is worked for me).




Happy coding


Previous Post Next Post

Contact Form