Skip to content

Building calabash android

Jonas Maturana Larsen edited this page May 20, 2013 · 11 revisions

If you want to build calabash-android you can do the following.

Clone calabash-android

git clone https://github.com/calabash/calabash-android.git
git submodule init
git submodule update

Make the changes you want to make. You can update the versions file if you want to. (ruby-gem/lib/calabash-android/version.rb)

Building

You need the Android SDK installed as well as bundler and rake. To build and install the gem go to the ruby-gem folder run rake build

cd ruby-gem
rake build

Note that only files that are added to git are included in the gem. That means you have to add any new file to git yourself before building the gem.

Resolving Errors

/test-server/build.xml:29: taskdef class com.android.ant.XPathTask cannot be found
 using the classloader AntClassLoader[]

On Ubuntu, make sure ANDROID_HOME is set and exported with export ANDROID_HOME=/path/to/android-sdk in ~/.bashrc

Clone this wiki locally