Latest web development tutorials

Android development environment to build

Android development environment to build

First, you can start Android application development in the following operating systems:

  • Microsoft Windows XP or later.
  • Mac OS X10.5.8 or later with Intel chips.
  • Including the GNU C Library 2.7 or later Linux systems.

Second, all the tools needed to develop Android applications are free and can be downloaded from the Internet. The following is a list of software started developing Android applications need to use.

  • Java JDK5 or later
  • Android SDK
  • Java Runtime Environment (JRE)
  • Android Studio
  • (Optional) Java developers use Eclipse IDE
  • (Optional) Android Development Tools (ADT) Eclipse plug-ins

The last two components are optional, and if it is working on a Windows machine, these components will facilitate the development of Java-based applications. So let's look at how to set the desired environment.

Installing the Java Development Kit (JDK)

You can start with Oracle's Java Web site: JDKJava SE download download the latest version of Java. Find installed JDK documentation in the downloaded file, according to the given instructions to install and configure the settings. Finally, set the PATH and JAVA_HOME environment variable to refer to the directory that contains javac and java, usually are java_install_dir / bin and java_install_dir.

If you are running Windows, the JDK installed in C: \ jdk1.6.0_15, in C: \ autoexec.bat file add the following:

set PATH=C:\jdk1.6.0_15\bin;%PATH%
set JAVA_HOME=C:\jdk1.6.0_15

You can also right-click "My Computer" and select "Properties" = "" Advanced "=" "environment variable", and then update the PATH value by pressing the "OK" button.

On Linux, if the SDK is installed in /usr/local/jdk1.6.0_15, and are using the C shell, add the following code to write .cshrc file.

setenv PATH /usr/local/jdk1.6.0_15/bin:$PATH
setenv JAVA_HOME /usr/local/jdk1.6.0_15

If you are using an integrated development environment Eclipse, it automatically knows where Java is installed.

Android IDE

There are many complex and sophisticated technology to develop Android applications. At present, the use of similar techniques and are mainly the following two: