PhoneGap Setup on Arch Linux
29 Aug 2014Here’s a few notes to getting PhoneGap up and running on an Arch Linix installation.
Dependencies
PhoneGap itself relies on some java tools, so you’ll need a jdk and ant.
In order to run your applications in an android simulator, you’ll need the android sdk installed. For the next steps, you’ll need to ensure that multilib
is enabled in your /etc/pacman.conf
file.
You’ll need the following packages installed from AUR:
After these have been successfully installed, using the suggested installation procedure guidance on the wiki, you’ll need to put these tools on your path:
PhoneGap is installed using npm
which is part of the NodeJS suite, so you’ll need to have it installed as well:
Installation
From the PhoneGap installation guide, installation should be just:
Device Setup
Before you can run any applications, you’ll need to setup a device. No cpu images are installed by default, so you’ll need to install these first using the android
command.
After installing the appropriate images, you can create a device using android
avd
.