#01 Setup for Android development


This chapter guides you to prepare the development environment for making the Android Live2D wallpaper.

In concept, the operation is simple and easy to build. Yet, there are plenty of potential for unexpected trouble.
If we are to search for "Android development", 
a great amount of articles could be found.
However, they may not be suitable for you if your situation is different from the article's intended reader. 
You may skip pass the articles that explains Java environment if you have it setup already. 
However, you may want to read the latest articles if you find your Java version is outdated.

For the following tutorial, it is assumed that you are aware of :
  • Using Windows (using other OS would be similar)
  • Using Eclipse as the development environment (with default settings)
  • The information is based at the time it was created - 8 / 12 / 2014.
If your development environment is ready, please skip to the next chapter.

    Necessary Utilities

  • Java SDK (JDK)
  • Eclipse (integrated development environment)  →  For AndroidStudio click here
  • Android SDK

    Install JDK

From the JDK download page, download the JDK for the corresponding OS you have.
Read through the licence and check the confirmation box. 

As you proceed, you will be prompt to enter the installation folder for JRE.
This will be the Java execution environment.
Use the default destination.

Once installed, you should find JDK and JRE in the folder C:\Program Files\Java. 

    Install Eclipse

Download Android Developer SDK for Eclipse       →       For AndroidStudio click here

Android development requires a plug-in called ADT. It is already included in the download file from the link above. 
For Japanese localization, you would need other plug-ins.

    If Eclipse installed previously without ADT

ADT is necessary for Android develment.
Go to "Help" > click "Install new software".
Enter the following URL to download the ADT. 

    Download Android SDK

Use the SDK Manager to download Android SDK.

SDK Manager verify and update the tools, platforms, packages, and other components used by your apps.
Press the "Install button" to install the Android SDK.


Start up Eclipse. 
Open the "Settings" window from the top menu "window" > Settings.
If you can see the item "Android" then you are good to move on.
You may also specify the location of the Android SDK here.
Please locate the ADT if you downloaded it separately from Eclipse.

You are all setup for development. 
Good work!

Upcoming next, we will run a sample SDK.