session-android/BUILDING.md
Shaun Walbridge 91dd558f7a ActionBarSherlock verisons now stored as tags
The current release of `ActionBarSherlock` uses tags to store its relases, so the clone command fails. Instead, clone HEAD and switch to the 4.2.0 tag.
2013-10-10 01:50:02 -07:00

809 B

Building TextSecure

Fetch ActionBarSherlock:

git clone git://github.com/JakeWharton/ActionBarSherlock.git ../ActionBarSherlock
pushd ../ActionBarSherlock && git checkout 4.2.0 && popd

Configure ActionBarSherlock for your android target:

android update project --path ../ActionBarSherlock/library --target 1

Configure TextSecure for your android target, linking to ASB:

android update project --path . --target 1 --library ../ActionBarSherlock/library

Finally, both codebases must share the android-support jar. As TextSecure's is newer, use it:

cp libs/android-support-v4.jar ../ActionBarSherlock/library/libs/android-support-v4.jar

Assuming your android toolchain is correctly configured, it should now be possible to build the TextSecure apk.

ant debug