Getting Started with Android

Getting Started with Android

This guide describes how to set up your development environment for Cordova and run a sample application.

1. Minimum Requirements for Development

1.1 Supported Android Devices

We currently do not support Android 1.x, and we plan to deprecate platforms in the future as they are updated and dip below 5% on the distribution dashboard provided by Google.

2. Install SDK + Cordova

3A. Setup your PATH environment variable on Mac OS

touch ~/.bash_profile; open ~/.bash_profile

export PATH=${PATH}:/Development/android-sdk-macosx/platform-tools:/Development/android-sdk-macosx/tools

source ~/.bash_profile

3B. Setup your PATH environment variable on Windows

;C:\Development\android-sdk-windows\platform-tools;C:\Development\android-sdk-windows\tools

4. Setup New Project

If your project has a red X indicating there is a problem follow these additional steps:

5A. Deploy to Emulator

Note: For a faster experience, use an Intel-based emulator image:

5B. Deploy to Device