Friday, December 9, 2016

Debug and Deploy to Android

I'm excited that Unity's business model changed and now it is free to deploy to Android.

They have some very good Setup Instructions for debugging and deploying.

Some things to note:

  • In installing the Android Studio, my SDK was installing here:
    • C:\Users\**username**\AppData\Local\Android\android-sdk
  • Create a new project
  • Make sure to set the Bundle Identifier in:  
    • Update Player Settings > Other Settings > Bundle Identifier
If you want to Debug with your device, ensure it is connected via USB and click Build & Run.

If you want to deploy your game, just click Build.  This will produce an APK file which you can transfer to your device.

On your device, find the file in a file browser, select it, and when Android asks you if you want to install, say yes.  The game will launch and a generic icon will be added to your apps list.

No comments:

Post a Comment