Configuring the Development Environment - JayThomason/Tutti GitHub Wiki
This page is meant to help you configure your development environment so that you can build and test Tutti.
Getting started with an Android development environment
- Download Eclipse
- Eclipse is an open source Java IDE which has good Android integration. It can be downloaded here.
- You don't need to use Eclipse to do Android development, but we recommend it because there are a lot of helpful resources for learning to use Eclipse for Android development effectively.
- The Android SDK includes all the necessary libraries, tools, and packages to start developing for Android
- Install the ADT plugin for Eclipse
- Instructions can be found here
- Open Eclipse and make sure that the SDK is installed correctly
- You may need to select a file path to the SDK the first time you open Eclipse again.
- You should ensure that you have downloaded all of the necessary parts of the SDK.
- Open the Android SDK manager, found in the top menu bar, and make sure that the Tools and Android 4.4.2 (API 19) packages are fully installed. If any are missing then install them.
- Create an Android Virtual Device (AVD)
- Once we get real phones (which we are working on now), we will update this wiki with information about how to push your code to the real device instead of a virtual device, but for now we will just be using AVDs.
- Follow the instructions here
- I recommend installing Intel Haxm so that you can use the faster Intel Atom emulator.
- To install this, open the Android SDK manager, scroll down to the extras file, and check the Intel x86 Emulator Accelerator box. Click install packages and follow the instructions.
- If you have a decent GPU, I suggest checking the emulation option: Use Host GPU.
- Make sure that the size of the SD card memory is big enough to hold music for testing.
- Set the target to Android 4.4.2 - API Level 19.
Building Tutti in Eclipse
Right now Tutti is a fairly standard Android application. We aren't using any external JARs or special libraries. I will outline here how to make sure Tutti builds properly in Eclipse.
- Clone the repository if you have not done so already.
- Import the project into Eclipse as an existing Android code base.
- Select Project > Clean, and then make sure that Project > Build automatically is checked.
- Select Run, or click the green arrow in the top menu bar and choose the Tutti project.
- Choose to run the project as an Android application.
You should now be able to open Tutti and test Tutti on your AVD.
If you run into any problems in this page then open an issue or just update this wiki page.