From c9cac21ff615d1adebdc49f3a8602496b119861d Mon Sep 17 00:00:00 2001 From: Javier Gomez Date: Wed, 7 Aug 2019 16:30:30 +0200 Subject: [PATCH] Update Readme.md --- Readme.md | 16 ++++++++++++++-- 1 file changed, 14 insertions(+), 2 deletions(-) diff --git a/Readme.md b/Readme.md index 99d287c07f7..9640492ab37 100644 --- a/Readme.md +++ b/Readme.md @@ -21,6 +21,18 @@ This document will guide you to build the application on a Linux machine with An git clone --recursive https://github.com/meganz/android.git ``` -* Configure the variable `NDK_ROOT` to point to your Android NDK installation path at `jni/build.sh`. +* Configure the variable `NDK_ROOT` to point to your Android NDK installation path at `app/src/main/jni/build.sh`. -* Open the project with Android Studio, let it build the project and hit _*Run*_ +* Go to `app/src/main/jni/` and execute: `./build.sh clean` and `./build.sh all`. + +* Download the link https://mega.nz/#!1tcl3CrL!i23zkmx7ibnYy34HQdsOOFAPOqQuTo1-2iZ5qFlU7-k, uncompress it and put the folders `debug` and `release` in the path `app/src/`. + +* Open the project with Android Studio, let it build the project and hit _*Run*_. + +### Notice + +To use the *geolocation feature* you need a *Google Maps API key*: + +* To get one, follow the directions here: https://developers.google.com/maps/documentation/android/signup. + +* Once you have your key, replace the "google_maps_key" string in these files: `app/src/debug/res/values/google_maps_api.xml` and `app/src/release/res/values/google_maps_api.xml`