2013-06-18 19:38:11 +10:00
|
|
|
Building TextSecure
|
|
|
|
===================
|
|
|
|
|
|
|
|
Fetch ActionBarSherlock:
|
|
|
|
|
2013-10-02 02:27:06 -04:00
|
|
|
git clone git://github.com/JakeWharton/ActionBarSherlock.git ../ActionBarSherlock
|
|
|
|
pushd ../ActionBarSherlock && git checkout 4.2.0 && popd
|
2013-06-18 19:38:11 +10:00
|
|
|
|
|
|
|
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
|