mirror of
https://github.com/oxen-io/session-android.git
synced 2024-12-12 11:14:20 +00:00
23 lines
763 B
Markdown
23 lines
763 B
Markdown
|
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
|