‫All right.
‫So for this video, I needed to use the recording of a friend who recorded that for me because I personally
‫don't have an Android device.
‫But this video will show you how you can set up your machine, in this case your Windows machine, in
‫order to run a game on your Android device.
‫So let me just run this video and then I'll tell you what you need to do in order to play the game on
‫your Android phone directly.
‫So you will need Android studio and you will need to go to a developer at Android dot com and then you
‫can download Android studio.
‫Now you need to read it and accept it.
‫It's quite a big file.
‫It's 0.9 gigs and it will 1.9 gigs and it will take a while.
‫So as soon as that's done, choose Android, Studio, Android SDK and Android version and then install
‫everything next, next.
‫And as soon as that's all done, you don't need to start Android Studio.
‫You can simply close the installation and in order to do that, you only need to search for folder options.
‫And here you need to show all the files and folders because the folder that we need is usually hidden.
‫So just save that.
‫All right, let's go to your explorer then to see.
‫And they're under users, your username, and then you'll find appdata.
‫Local Android SDK.
‫So that's the path that you need.
‫Copy that.
‫Go back to your unity file.
‫Then you go to edit preferences, external tools, and here you can enter the Android SDK.
‫So there you need to pass the path in.
‫So paste it in.
‫Save it.
‫Close it.
‫And next, we'll need to connect the device via USB to your computer.
‫Then you go to build settings.
‫Choose Android here.
‫Choose the scene that you want to have it open since for example, then the main thing goes in, then
‫go to Android Switch platform.
‫And then unity goes over to your android, as you can see.
‫Now we can go to player settings and our game should only be showed in landscape mode.
‫So we don't need any rotation and those kind of things.
‫So let's go to resolution and presentation.
‫And then go to default orientation and let's go to landscape left.
‫So it will always be in landscape this way.
‫All right.
‫As soon as that's done, go to other settings and here we'll need the package name and here we enter
‫com dot and your company name, for example.
‫Just simply test and for the product.
‫Just fruit ninja clone for example.
‫Then the version.
‫Then next go to public settings and use existing keystone.
‫And here use unsigned debug.
‫Now save the scene.
‫Save the project.
‫And then go to build and run.
‫It will create the APK.
‫And that might take a little while.
‫So now it's copied onto your device and will be started on your device directly.
‫All right.
‫And there we are.
‫So let's turn around the phone.
‫And as you can see, there is our game and we can destroy the fruits, cut them.
‫And as soon as the bomb comes up, we can hit it and our overlay comes up.
‫So game over, panel comes up.
‫But it's a little small, but those are the things that we are going to take care of in the next video.
‫So we're going to do some adjustments.
‫But in general, as you can see, our game works and you can play it on your Android phone.
‫So now you also know how to export a game for Android.