How do I get my game on a Android device? (Galaxy S2)

Hi,

sorry if that has been asked before, I tried the search but nothing really useful showed up.
So I am working with Unity for a couple of months now, trying to create a small 3d game for mobile devices.
I usually develop for ipad and know the process of how to compile my game to the ipad.
Now my colleague brought his Galaxy S2 and we want to compile the game to his android device.
I have no experience with android app development whatsoever.

Can anyone please descrone the process of how to get a unity app to galaxy s2.
What tools do I need? Are there any good tutorials out there on how to do it? what should i look out for?..

thanks in advance
frankblizzard

Go to Google Play on the Android device and download the app called “Astro File Manager / Browser”. It is what it says it is: A File browser for your phone. But the cool thing about it is that it can launch the installation procedure for APK files whose origin is somewhere else than Google Play.

Now use Unity to build the application. It will result in an APK-file. This is the installation file for Android. Use a USB cable to connect the device to your computer, then simply copy-paste the APK file onto the device, wherever you want it.

Now, open Astro, and browse to the APK-file’s location. Tap it. Astro launches the installer for your app. Install the app, and you’re good to go. :slight_smile:

EDIT:

I forgot to mention that you must go to Settings->Application Settings and in there, tick the setting that reads “Unknown Sources”. This allows the system to install non-market apps. This is what iPhone owners must jailbreak their device to accomplish. In Android, it’s a simple setting. :slight_smile:

  1. Make sure you have Developer Options turned on on your phone
  2. Make sure you have Build Settings configured correctly in Unity (ie Android platform)
  3. Hit Build and Run
  4. OK the saving of the apk on your PC
  5. Let it continue and you will find that it will start running on your phone :slight_smile: