Coding With Fun
Home Docker Django Node.js Articles Python pip guide FAQ Policy

Android development environment


May 21, 2021 Android


Table of contents


Android development environment

Android development environment

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

  • Microsoft Windows XP or later.
  • Mac OS X10.5.8 or later with Intel chips.
  • Includes linux systems for GNU C Library 2.7 or later.

Second, all the tools you need to develop an Android app are free and can be downloaded from the web. The following is a list of the 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 Tool (ADT) Eclipse plug-in

The last two components are optional and, if working on a Windows machine, will make it easy to develop Java-based applications. So let's see how to set up the environment you want.

Install the Java Development Kit (JDK)

You can download the latest version of Java from Oracle's Java website: JDK Java SE. F ind the documentation for installing the JDK in the downloaded file and follow the given instructions to install and configure the settings. Finally, set path and JAVA_HOME environment variables to refer to directories containing javac and java, typically java_install_dir/bin and java_install_dir, java_install_dir.

If you're running Windows, install the JDK jdk1.6.0_15 C:?autoexec.bat the following files:

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

You can also right-click My Computer, select Properties, Advanced, Environment Variable, and update the PATH value by pressing the OK button.

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

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

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

Android IDE

There are many complex and sophisticated technologies to develop Android applications. The main and similar technologies currently in use are the following two: