
First, you can start Android application development on the following operating systems:
Microsoft Windows XP or later.
Mac OS X10.5.8 or higher with Intel chips.
Includes 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 you need to start developing Android applications.
Java JDK5 or later
Android SDK
Java Runtime Environment (JRE)
Android Studio
(optional) Eclipse IDE used by Java developers
(optional) Android development tools (ADT) Eclipse plug-in
The last two components are optional and will facilitate the development of Java-based applications if you are working on a Windows machine. So let’s take a look at how to set up the desired environment. You can access it from Oracle’s Java website: JDKJava SE下载 Download the latest version of Java. Find the documentation for installing JDK in the downloaded file and follow the given instructions to install and configure the settings. Last set If you are running Windows, install JDK in C:jdk1.6.0_15 and in You can also right-click my computer, select Properties = “Advanced” = “Environment variables”, and then update the PATH value by pressing the “OK” button. On Linux, if SDK is installed in the If you use the integrated development environment Eclipse, it automatically knows where Java has been installed. There are many complex and sophisticated techniques for developing Android applications. At present, the main and similar technologies are the following two: Android Studio Eclipse ID 3.3.1. Install the Java Development Kit (JDK) ¶
PATH
And
JAVA_HOME
Environment variable to refer to the containing
javac
And
java
The directory of, usually,
java_install_dir/bin
And
java_install_dir
.
C:\autoexec.bat
Add the following to the file:set PATH=C:\jdk1.6.0_15\bin;%PATH%
set JAVA_HOME=C:\jdk1.6.0_15
/usr/local/jdk1.6.0_15
And using C shell, put the following code into the
.cshrc
Files.setenv PATH /usr/local/jdk1.6.0_15/bin:$PATH
setenv JAVA_HOME /usr/local/jdk1.6.0_15
3.3.2. Android IDE ¶