mirror of
https://github.com/oxen-io/session-android.git
synced 2024-11-30 13:35:18 +00:00
23caf2b14d
Native components were split out into the libaxolotl-android repository
in 1833e57
, so these instructions are no longer relevant.
2.1 KiB
2.1 KiB
Building TextSecure
Basics
TextSecure uses Gradle to build the project and to maintain dependencies.
Building TextSecure
The following steps should help you (re)build TextSecure from the command line.
-
Checkout the source somewhere on your filesystem with
git clone https://github.com/WhisperSystems/TextSecure.git
-
Make sure you have the Android SDK installed somewhere on your system.
-
Ensure that the following packages are installed from the Android SDK manager:
- Android SDK Build Tools
- SDK Platform
- Android Support Repository
- Google Repository
-
Create a local.properties file at the root of your source checkout and add an sdk.dir entry to it.
sdk.dir=\<path to your sdk installation\>
-
Execute Gradle:
./gradlew build
Setting up a development environment
Android Studio is the recommended development environment.
- Install Android Studio.
- Make sure the "Android Support Repository" is installed in the Android Studio SDK.
- Make sure the latest "Android SDK build-tools" is installed in the Android Studio SDK.
- Create a new Android Studio project. from the Quickstart pannel (use File > Close Project to see it), choose "Checkout from Version Control" then "git".
- Paste the URL for the TextSecure project when prompted (https://github.com/WhisperSystems/TextSecure.git).
- Android studio should detect the presence of a project file and ask you whether to open it. Click "yes".
- Default config options should be good enough.
- Project initialisation and build should proceed.
Contributing code
Code contributions should be sent via github as pull requests, from feature branches as explained here.
Mailing list
Development discussion happens on the whispersystems mailing list. To join Send emails to whispersystems@lists.riseup.net