mirror of
https://github.com/oxen-io/session-android.git
synced 2024-11-21 15:05:19 +00:00
91dd558f7a
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.
809 B
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