Virtual Reality Blueprints
上QQ阅读APP看书,第一时间看更新

Building an Android application

  1. In your project directory (at the same level as the Asset folder), create a Build folder.
  2. Connect your Android device to the computer using a USB cable. You may see a prompt asking you to confirm that you wish to enable USB debugging on the device. If so, click OK.
  1. In Unity, select File | Build Settings to load the Build dialog.
  2. Confirm that the Platform is set to Android. If not choose Android and click Switch Platform.
  3. Note that Scenes/Main Scene should be loaded and checked in the Scenes In Build portion of the dialog. If not, click the Add Open Scenes button to add Main Scene to the list of scenes to be included in the build.
  4. Click the Build button. This will create an Android executable application with the .apk file extension.