CS Games - Sample Android App
This project will guide you setting up your environment to build and run a sample Android application on your local machine.
Make sure you have the following software installed before beginning:
- Latest version of Android Studio (2.3)
- Recent version of the Android SDK (at least API 23)
You can download these from the Android Developer website.
NOTE: If you have a Mac computer running macOS 10.11.5 or later, you may also be interested in our Sample iOS app, which uses Xcode and the latest iOS SDK.
First, clone the project from Github:
git clone firstname.lastname@example.org:mirego/csgames-sample-android.git
Then, in Android Studio:
- Select Import project (Eclipse, ADT, Gradle, etc.) in the Welcome Screen, go find the repository you just cloned, and click OK.
- Once the project is open, click on Sync Project with Gradle Files in the main toolbar (or navigate to
Tools -> Androidin the application menu and select the same option).
Once you see a
BUILD SUCCESSFUL notice in the Gradle Console, your environment should be ready to build and run the project.
Building the project
The project should have already been configured as an Android project in Android Studio, therefore you should see a target named
app in the main toolbar, with Play and Debug buttons on its right.
Press on the Debug icon, and if you don't already have one, create a new Android Virtual Device, then select it to run the project.
Once the app appears running in your Virtual Device, your environment is ready for the competition.
Mirego is a team of passionate people who believe that work is a place where you can innovate and have fun. We're a team of talented people who imagine and build beautiful Web and mobile applications. We come together to share ideas and change the world.
We also love open-source software and we try to give back to the community as much as we can.