Android Games & Apps

How to build Android application development environment (Windows version)

I want to make Android app myself! For those who like it, it is an article that summarizes about how to begin even if you are a beginner [How to build Android application development environment]. In the environment construction method on Windows, I explain using a lot of images.

I would like to develop an Android application myself! I guess there are also many people who think.

So, this time, I will introduce the method of building environment of Android application of Windows which can be even a beginner. For beginners to understand, I explain using many images.

As an introduction to Android application development, we will prepare the environment for installing the necessary software, create the application, and explain how to display “Hello world” using the emulator.

There is also an article on the development environment using the latest Android Studio, so please take a look.

The contents of this article can also be viewed with video.

Please see if the video is easier to understand than text.

Flow of building Android application development environment

In this article, we will introduce it according to the following items.

  • Installing the JDK
  • Installation of Eclipse
  • Install Android SDK
  • Installation of ADT Plugin for Eclipse
  • Project creation and setting of AVD · Execution by emulator

Installing the JDK  

First, install the Java Development Kit from the Oracle site.

Select Java Platform (JDK) 7u45.

Check Accept License Agreement and download the file for Windows x86 or Windows x64 from http://androidsamo.com/

Whether the PC you are using is an x86 version or x64 version can be confirmed from “Control Panel” of PC you are using.

In the control panel, click “System and Security”.

Click “System”.

It is displayed in the part surrounded by a red frame.

That it is in this case 64bit of x64 will be the version.

Make sure to check before installing.

Installation of Eclipse

Next, install Eclipse which is an open source integrated development environment.

Download body

Install from the Eclipse site.

Click “Downloads”.

Click on ” Eclipse IDE for Java Developers” corresponding 32bit or 64bit correspondence.

Whether it is 32 bit or 64 bit, confirm from the “control panel” the same procedure as above.

Click on the red frame to download.

Let’s put the decompressed file just below (C  drive.

Pleiades (plug-in)

I will also do Japaneseization.

Download from the Pleiades site.

Click “stable version” to download.

Please move all contents of the unzipped folder to the Eclipse folder and overwrite it.

This image looks like.

Next, open the Eclipse folder and edit the eclipse.ini file inside it with a text editor etc.

At the very end add the following line and save.

-javaagent: plugins / jp.sourceforge.mergedoc.pleiades / pleiades.jar

Be sure to close eclipse.ini after editing.

Next, double click on the eclipse.exe – clean.cmd file to start it.

After adding/updating the plug-in, be sure to start from this file.

Usually, eclipse.exe is OK.

Eclipse will start after “Cache is being cleaned up” is displayed.

Since the item “Select workspace” appears, click “OK”.

Your installation of Eclipse is now complete.

Install Android SDK

Next, I will install the Android SDK.

Installation is possible on this site.

Click “DOWNLOAD FOR OTHER PLATFORMS”.

Click installer_r 22.2.1 – windows.exe (Recommended) and install from the downloaded file.

Let’s confirm the deployment destination on this screen.

Open the installed Android-SDK folder.

We need the path to the platform – tools and tools in this, so leave it in a text editor etc. here.

How to get the path

Select a file → to hold down shift and right click → Copy path

When you start up the text editor and paste it, it will be displayed in the following form.

“C: \ Program Files (x86) \ Android \ android-sdk \ platform-tools”

This “will be the path. So, in this case

C: \ Program Files (x86) \ Android \ android-SDK \ platform-tools

C: \ Program Files (x86) \ Android \ android-SDK \ tools

These are the paths to platform-tools and tools.

Select “Control Panel” → “System and Security” → “System”.

Click “Advanced System Settings”.

Click “Environment Variables”.

Select the item “Path” from “System environment variable” and click “Edit”.

We do not touch the part of “variable value” from the beginning, add the path to the previous platform-tools and tools to the continuation.

; Path of platform-tools; path of tools  (* Please separate them with;

So, in this case, you add

; C: \ Program Files (X86) \ Android \ Android-SDK \ Platform-Tools; C: \ Program Files (X86) \ Android \ Android-SDK \ Tools

. Please press OK when you add.

Let’s see if Path is passing.

Hold down the Windows button and press “R”.

A window named “Run with a file name” opens, so enter “cmd” and click OK.

Type “adb” and press the return key.

Successful when it comes to such a screen.

Launch Eclipse and select Window → Android SDK Manager.

You will download the necessary items from this screen.

Be sure to install the “Tools” item.

In addition to that, I selected Android 4.3 (API 18) and Android 4.2.2 (API 17) this time.

With all green checks on the left, select “Accept License” and click “Install”.

When accessing “Item is denied access” when installing item

Right-click the SDK Manager.exe icon in the Android-SDK folder and select “Run as administrator”.

Installation of ADT Plugin for Eclipse

I am almost done. Let’s install ADT Plugin for Eclipse.

Select “Install new software” from Eclipse “Help”.

Click “Add”.

Enter two items.

Unnamed: It’s an arbitrary name. It is described as “ADT Plugin” here.

Location: https://dl-ssl.google.com/android/eclipse/

When you have entered, click OK.

Check “Development Tools” and click “Next”.

Please check “I agree to the terms of use conditions” and click “Done”.

Project creation and setting of AVD · Execution by emulator

It is finally the stage. Let’s create a project and display it with the emulator.

Create project

Let’s actually make the application.

Select “Android application · project” from “File” → “New” → “Project”.

Enter three items. This time we have entered as follows.

Application name: HelloWorld

Project name: HelloWorld

Package name: com.helloworld.example

Click “Next” to proceed and click “Finish”.

This is the screen to do the work of the program etc.

Let’s check if it can be started by the emulator.

Create an AVD (Android Virtual Device)

Finally, let’s create an emulator for Android that runs on PC.

Select Window → Android Virtual Device Manager → New, select the required item and click OK.

This time it is set as in the red frame above. (The name is optional.)

Running the application

Select “Execute” → “Execution configuration”.

Select “Android Application”, enter the name of the execution configuration (optional) and the project name of the project you created earlier.

Be sure to press “apply” in the lower right, then click the “Target” tab.

Check “Check compatible device ~” and select the AVD created earlier.

Click Apply, then click Execute.

It takes several minutes to start up the emulator.

Successful when it comes to such a screen.

For the beginners, I think that “to pass” and “run-time error” are particularly important walls.

Since the path depends on the environment of the PC, be sure to specify and actually acquire the folder, to check whether the error at the time of execution in the emulator is installed a necessary plug-in, start with eclipse.exe -clean.cmd Whether you are doing it or not, it should be pretty smooth.

There are various procedures in Eclipse’s environment setting and it seems complicated, but let’s do it slowly while checking every single thing!

[Notice]

TechAcademy holds an Android application development course (online boot camp) that even beginners can create original applications in as short as 4 weeks. Please participate if you want to publish the application by yourself and shearing regarding to technology  information at Techhook.

 

                                  

3 Comments
  1. voyance pas chère 1 month ago
    Reply

    Appreciation to my father who shared with me concerning
    this webpage, this blog is really awesome.

  2. Margie 1 month ago
    Reply

    I really like your blog.. very nice colors & theme.
    Did you make this website yourself or did you hire
    someone to do it for you? Plz respond as I’m looking to construct my own blog and would
    like to find out where u got this from. thank you

    • addisonalbert 3 weeks ago
      Reply

      Hi,

      Thank you for commenting, I’m working self own blog.

Leave a Comment

Your email address will not be published.

You may also like