Running the Android APK with an emulator
While the best way to test an Android game is on an actual Android device, it is also possible to test the game out on an emulator, which is a medium through which we can have our computer run software that was created for Android devices. There are several Android emulators available for Windows at the time of writing, but the one that I’ve had the most success with is one called LDPlayer, a lightweight and fast Android emulator; however, it does contain ads due to it being free. For those on an Intel-powered Macintosh, you can use BlueStacks (https://www.bluestacks.com/download.html), but at the time of writing, there are no Android emulators available on Apple silicon-powered Macintoshes. This section is completely optional; if you’d rather test on an actual device, skip ahead to the Putting the project on your Android device or the Unity for iOS setup and Xcode installation section.
To test the game on an emulator, follow...