From bf03b31ddeca06b78b98dd077d50919008c2bbb8 Mon Sep 17 00:00:00 2001 From: Richo Healey Date: Tue, 18 Jun 2013 19:38:11 +1000 Subject: [PATCH] add BUILDING instructions --- BUILDING.md | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 BUILDING.md diff --git a/BUILDING.md b/BUILDING.md new file mode 100644 index 0000000000..98a964bdfa --- /dev/null +++ b/BUILDING.md @@ -0,0 +1,22 @@ +Building TextSecure +=================== + +Fetch ActionBarSherlock: + + git clone --branch 4.2.0 git://github.com/JakeWharton/ActionBarSherlock.git ../ActionBarSherlock + +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