diff --git a/technical/Build-instructions.md b/technical/Build-instructions.md index 3bce311d..6689df59 100644 --- a/technical/Build-instructions.md +++ b/technical/Build-instructions.md @@ -109,11 +109,17 @@ On Android + Please make sure Android SDK and NDK are installed, and their paths are properly set. If you need more information, please visit ++ These instructions are for Ubuntu, check equivalent if you use a different distribution #### Prepare environment -- Install Java JDK 7 or 8: - +- Install Java JDK 7 or 8 (Oracle or OpenJDK) + + + +```bash +sudo apt install openjdk +``` @@ -127,8 +133,7 @@ more information, please visit -- Install required tools (on Ubuntu, check equivalent if you use a - different distro) +- Install required tools @@ -202,6 +207,15 @@ cd ring-project - `sudo` will use root's bash profile. And you don't need it. + + +- If build fails, you can try to clean contribs with: + +```bash +cd ring-project/daemon && git clean -xdf +``` +Note that the build will be longer. + How to Build LibRing (or Daemon) ===========================================================