I'm making a game for android and i wanted to test it on my phone but when i go to build settings and choose android for platform i can't build it for android because it says this: Error
I tried at normal 2d template and 2d mobile template. How can i fix this error?
CodePudding user response:
Depend on whats is your unity version and platform download the android module, for 2020.3.20 go to https://unity3d.com/unity/whats-new/2020.3.20 and download and install Android Target Support, depend on your computer platform.
To build and run for Android, you must install the Unity Android Build Support platform module. please read the more info from https://docs.unity3d.com/Manual/android-sdksetup.html
You can also use Unity HUB to download required modules, too