install configure – android sdk, phonegap, genymotion, eclipse plugin – crunchbang 11 / debian wheezy

i use Crunchbang 11 (debian wheezy) 64 bit, Oracle Java JDK

Install libraries for linux 64 bit

sudo dpkg --add-architecture i386
sudo apt-get update
sudo apt-get install libc6:i386 libncurses5:i386 libstdc++6:i386 lib32z1

if use other linux 64 see this link

Install Android SDK

download from

i have installed eclipse, so I choose SDK Tools Only

download and extract

my extract path is ~/downloads/android-sdk-linux

# move to /usr/lib

sudo mv ~/downloads/android-sdk-linux /usr/lib

# run avd, and update library api

cd /usr/lib/android-sdk-linux/tools


choose api and install (pst… u just need SDK Platform, ARM EABI System Image, Intel X86 Atom System Image, Google APIs)


Config Value Android SDK to local environtment

# create  .bash_profile file

cd ~

nano .bash_profile

# fill with value

export PATH=${PATH}:/usr/lib/android-sdk-linux/platform-tools:/usr/lib/android-sdk-linux/tools

# save, and execute


# test echo PATH variable

echo $PATH$

Install Node.js

(IMHO) you need node.js to install phonegap version 3.3

download node.js from

extract it (~/downloads/node)

cd ~/downloads/node
sudo make install

wait until finish (grab some tea, coffee or sleep)

Install Phonegap & Cordova

when finish install node.js

sudo npm install -g cordova

sudo npm install -g phonegap

Test Phonegap

lets say i have workspace folder for android

$ cd ~/workspace

$ phonegap create hello -n HelloWorld -i com.example.hello

$ cd ~/workspace/hello

$ phonegap -V build android

if you have error check this

Install GenyMotion Emulator

i like genymotion emulator, its fast

first you must install virtualbox

download form

for debian distro

install that deb file

download genymotion emulator (subscribe and see your email)

get the bin file

$ cd ~/downloads

$ chmod +x genymotion-2.0.3_x64_debian.bin

$ mv genymotion-2.0.3_x64_debian.bin ~/bin

$ cd ~/bin

$ ./genymotion-2.0.3_x64_debian.bin

config your genymotion

# run genymotion

$ cd ~/bin/genymotion

$ ./genymotion

input your account


where you want put image virtual (my path is /media/90F635D3F635BA74/vbox-img/GenyMotion)


where your sdk location


click ok and now add virtual image


you can click play to test 😉

Eclipse Install GenyMotion Plugin

open eclipse

Help -> Install New Software

Fill the fields with these items and then validate:


restart eclipse

find button “Genymotion Virtual Device Manager (Ctrl + 6)”

click start to test


close the geanymotion AVD manager

and let the genymotion emulator

Test Eclipse – GenyMotion Plugin

open eclipse

set path genymotion folder

open existing project

File -> New Project -> Android -> Android Project from Existing Code


browse to phonegap project


click run


then choose genymotion emulator


test hello world application


Published by


just to remember what i had known :)

2 thoughts on “install configure – android sdk, phonegap, genymotion, eclipse plugin – crunchbang 11 / debian wheezy”

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s