Setup Android Development Environment - Windows
Want to write Apps for your Android mobile phone, tablet or other device? Own a decent spec Windows computer? Then use Google's free software to setup an Android development environment in Windows. This article is an introduction to configuring Windows for Android development. Don't own a Windows PC? No problem Android Studio also runs on Apple and Linux computers.
For those who don't need any background information and want to get going developing Apps then:
- Install the Java Development Kit (JDK) - see Installing Java on Windows.
- Run the Android Studio installer - see Android Studio Install for Windows Based PCs.
Google Integrated Development Environment for App Writing
To develop applications (Apps) use an Integrated Development Environment (IDE). An IDE is an all-in-one program for writing, running and debugging software, such as Android Apps. What can you do in an IDE? You can:
- Design the App's screens.
- Write the App code.
- Perform test runs of the App on a physical device or emulator.
- Debug the App.
- Package the App for the Google Play store and other App stores (Amazon, Samsung, etc.).
There are many IDEs available, for Android development Google recommends its own Android Studio. For several years, before switching to Studio, Google used the Eclipse IDE as the main Android app development tool. Now Google supports Android Studio which is based upon the Intellij IDEA product from JetBrains. A version of Studio is available for GNU/Linux PCs and Apple Macs.
The Java programming language is used extensively to develop Apps. The Android Application Programming Interface (API) is primarily designed to be used with Java. The assumption in this article is that Java and the Android Studio IDE are used for App development.
Install Android Studio and Get a Working IDE for App Writing
Setting up Android Studio can take some time with a slow Internet connection. It is also recommended that a recent Intel i5, i7 or Xeon based PC is used for best performance. There are upto seven steps that need to be completed for a fully working Android Studio environment for building Android Apps:
- Download and install the Java Development Kit (JDK).
- Optionally set the JAVA_HOME Environment Variable.
- Download and install Android Studio for Windows.
- Run the Android SDK Manager to update the Android SDK and install extra packages.
- Optionally install the Intel HAXM utility for better Andoid Virtual Device (AVD) performance.
- Configure an AVD for testing your code.
- Install device drivers for testing code on physical devices.
To install Java on Windows and set the JAVA_HOME Environment Variable see the article Installing Java on Windows.
The normal method for installing Android Studio is to use the Android Studio Windows installer. To install Android Studio using this method see our article Android Studio Install for Windows Based PCs.
Alternatively Google provides zip files containing Studio and the Android SDK, see the other download options for Studio. This allows for a custom set up.
The Android SDK comes with a rich API for developing Apps for a wide range of applications. Enjoy your Android programming.
Author:Daniel S. Fowler Published: Updated: