forked from signalapp/Signal-Android
-
Notifications
You must be signed in to change notification settings - Fork 0
Building TextSecure on Linux (no IDE)
liliakai edited this page Feb 23, 2014
·
1 revision
These instructions have been tested under Linux Mint 16. YMMV on other platforms.
Download the Android SDK and run the android SDK Manager executable (path/to/android-sdk/tools/android) to install the following packages:
- Android SDK Tools
- Android SDK Platform-Tools
- Android SDK Build-tools Rev. 19
- Android 4.4.2 (API 19)
- Extras/Android Support Repository
- Extras/Android Support Library
Make sure the system can find the Android SDK
export ANDROID_HOME=/path/to/android-sdk/
export ANDROID_SDK=$ANDROID_HOME
If your machine is 64-bit
apt-get install ia32-libs
Install JDK and configure JAVA_HOME.
apt-get install openjdk-6-jdk
export JAVA_HOME=/usr/lib/jvm/java-6-openjdk-amd64/
Finally
git clone [email protected]:WhisperSystems/TextSecure.git
cd TextSecure
./gradlew build