Skip to content

Instantly share code, notes, and snippets.

@mikeymckay
Created February 22, 2012 15:35
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save mikeymckay/1885577 to your computer and use it in GitHub Desktop.
Save mikeymckay/1885577 to your computer and use it in GitHub Desktop.
Setting up an android couchdb phonegap apk builder
Ubuntu 10.04
#Setup android SDK
sudo apt-get install openjdk-6-jdk ant1.8 wget
wget http://dl.google.com/android/android-sdk_r16-linux.tgz
tar -xvzf android-sdk_r16-linux.tgz
cd android-sdk-linux/tools
./android update sdk --no-ui --filter platform-tool
./android update sdk --no-ui --filter 9
# Setup couchdb
cd ~
# Add universe repo to /etc/apt/sources.list
sudo apt-get install make gcc zlib1g-dev libssl-dev rake git-core
git clone git://github.com/iriscouch/build-couchdb
cd build-couchdb
git submodule init
git submodule update
rake
# Setup Android Couchbase Callback
git clone https://github.com/couchbaselabs/Android-Couchbase-Callback.git
vim local.properties
ant debug
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment