Building for Android

To compile and build an executable package (APK) that runs on an Android device as a standalone application, you'll need to build your project. There are different ways to do this. Here, we'll look at a method that'll work for most Android devices, even if you cannot connect your device to Unity. Firstly, access the Player Settings by choosing Edit | Project Settings | Player from the application menu, and assign the application a unique Bundle Identifier by entering a name in the Bundle Identifier field. This is used to uniquely identify the Android application and will also be used on the App Store:

Assigning the application ...

Get Mastering Unity 2017 Game Development with C# - Second Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.