@@ -43,64 +43,5 @@ at #guardianproject on freenode or OFTC (https://guardianproject.info/contact/ch
4343
4444### Get the source
4545
46- The source code is all in the main git repos, with sub-projects setup as git
47- submodules:
46+ The source code is all in the main git repos. Use Gradle or Android Studio to build.
4847
49- git clone https://github.com/guardianproject/ChatSecureAndroid.git
50- cd ChatSecureAndroid
51- git submodule update --init
52-
53-
54- ### ant setup
55-
56- We use ` ant ` to make our official releases and automated test builds. If you
57- are not familiar with Eclipse, then it is easier to start with the ` ant `
58- build:
59-
60- export ANDROID_HOME=/path/to/android-sdk
61- ./update-ant-build.sh
62- ant clean debug
63-
64- Then the installable APK will be in ** bin/ChatSecure-debug.apk** .
65-
66-
67- ### Eclipse setup
68-
69- 1 . Start by adding ChatSecureAndroid to Eclipse by going to _ File_ -> _ New_ ->
70- _ Project..._ -> _ Android project from existing code_ .
71-
72- 2 . Open the ChatSecureAndroid folder that was just cloned from git.
73-
74- 3 . Eclipse will next show a list of subprojects to import, all of the
75- libraries with _ New Project Name_ of ** library** must be renamed after the
76- project name, i.e. SlidingMenu, AndroidEmojiInput, ViewPagerIndicator.
77-
78- 4 . Click * Deselect All* . The sample and example projects are not needed, and
79- can cause conflicts.
80-
81- 5 . Select __ ChatSecure__ again by clicking the top item in the list.
82-
83- 6 . Outside of Eclipse, open up the text file _ project.properties_ . Then back
84- in Eclipse, for each line that starts with ` android.library.reference ` , select
85- that path from the list of included sub-projects in Eclipse.
86-
87- Now you should be ready to build ChatSecure!
88-
89-
90- ## Test Instructions
91-
92- ` mvn test `
93-
94- See robo-tests/README.md for eclipse instructions.
95-
96- Currently the instrumented target tests (to be run on a device) in the directory ` tests ` are empty.
97-
98-
99- ## Logging
100-
101- ` adb shell setprop log.tag.GB.XmppConnection DEBUG `
102-
103-
104- ## Building for a Locale
105-
106- ant -Dgibberbot.locale=fa release
0 commit comments