summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorArne Schwabe <arne@rfc2549.org>2018-01-03 09:31:45 +0100
committerArne Schwabe <arne@rfc2549.org>2018-01-03 09:31:45 +0100
commit9ec7ca00eec294f5498d5a468729882b7457fe05 (patch)
tree3cfaf76a494475b14354d5688d595033c6ab9065 /doc
parent597e73a7dacd52145df8b86e53eba743755330a0 (diff)
More fixes for the new gradle/cmake build system
Diffstat (limited to 'doc')
-rw-r--r--doc/README.txt17
1 files changed, 8 insertions, 9 deletions
diff --git a/doc/README.txt b/doc/README.txt
index 057c54c3..abf9d5cc 100644
--- a/doc/README.txt
+++ b/doc/README.txt
@@ -15,9 +15,7 @@ See the file todo.txt for ideas/not yet implemented features (and the bug track
Build instructions:
-- Install sdk
-- Install ndk (Latest version should work as long as you use gcc)
-- Make sure that ndk-build is in your build path.
+- Install sdk, ndk, cmake (e.g. with Android studio)
Fetch the git submodules (the default urls for the submodules use ssh,
setup your own github ssh key or change the url to http in .gitmodules):
@@ -25,13 +23,14 @@ setup your own github ssh key or change the url to http in .gitmodules):
git submodule init
git submodule update
-Do cd main;./misc/build-native.(sh|bat) in the main directory of the project.
-After that build the project using "gradle build" (Or use Android Studio).
-The project is converted to gradle and building with Eclipse is no longer supported.
-Alternatively, if the NDK build fails for some reason pre-built libraries can be downloaded
-(e.g. from plai.de/android) and placed under main/ovpnlibs/assets/(no)pie_openvpn.{ABI}
-and main/ovpnlibs/jniLibs/{ABI}/*.so
+Build the project using "gradle build" (Or use Android Studio).
+
+Android studio tends to the whole build of binaries in its sync gradle
+phase to 15 minutes for initial gradle sync are completely normal.
+
+The native build is know not to work under Windows.
+
FAQ