Preparing Android Development Environment

จาก Theory Wiki
ไปยังการนำทาง ไปยังการค้นหา

To prepare your machine for developing an Android application, you will need Eclipse IDE with the ADT (Android Developer Tools) plugin, and Android SDK tools. The most convenient way is to install the ADT bundle, which includes a version of the Eclipse IDE with built-in ADT.

Downloading and Installing JDK

Eclipse requires Java Development Kit (JDK) and Java Runtime Environment (JRE) to operate. Follow these steps to download and install the latest version of JDK, which also includes a version of JRE.

Downloading and Installing ADT bundle

  • Download the ADT bundle from http://developer.android.com/sdk/index.html
  • Extract the ZIP file adt-bundle-<os_platform>.zip into an appropriate location, such as C:\android
  • Open the adt-bundle-<os_platform>/eclipse/ directory and launch eclipse

Creating Your First Application