The Chrome Apps for mobile toolchain can target iOS 6+ and Android 4.x+.
- Node.js version 0.10.0+ (comes with
npm) is required:-
Windows: Install Node.js using the installation executables downloadable from nodejs.org.
-
OS X or Linux: Installation executables are also available from nodejs.org. If you wish to avoid the need for root access, it may be more convenient to install via nvm. Example:
curl https://raw.github.com/creationix/nvm/master/install.sh | sh source ~/.bash_profile || source ~/.profile || source ~/.bashrc nvm install 0.10 nvm alias default 0.10
-
When developing an application for Android, you will also need to install:
- Java JDK 7
- Android SDK version 4.4.2 (or higher)
- Install the Android SDK and Android Developer Tools which come bundled with Android ADT Bundle.
- Add
sdk/toolsandsdk/platform-toolsto your PATH environment variable. - OS X: The version of Eclipse that comes with the Android SDK requires JRE 6. If opening Eclipse.app does not prompt you to install JRE 6, get it through the Mac App Store.
- Linux: The Android SDK requires 32 bit support libraries. On Ubuntu, get these via:
apt-get install ia32-libs.
- Apache Ant
- Add
apache-ant-x.x.x/binto your PATH environment variable.
- Add
Please note that iOS development can only be done on OS X. In addition, you will need to install:
- Xcode 5 which includes the Xcode command line tools
- ios-deploy (needed to deploy to an iOS device)
npm install -g ios-deploy
- ios-sim (needed to deploy to iOS Simulator)
npm install -g ios-sim
- Optional: Register as an iOS developer
- This is necessary for testing on real devices and for submitting to the app store.
- You can skip registration if you only plan to use the iPhone/iPad simulators.
Install cca via npm:
npm install -g cca
To update the toolchain later with new releases: npm update -g cca.
Confirm that everything is installed correctly by running this command from the command line:
cca checkenv
You will see the version number of cca outputted and confirmation about your Android or iOS SDK installation.
Done? Continue to Step 2: Create a project »