This is the eduVPN / Let's Connect! for Android application.
You can clone this repository by executing the following command (provided you have git installed):
git clone --recurse-submodules https://github.com/eduvpn/android.git
Or if your git version is below 2.13:
git clone --recursive https://github.com/eduvpn/android.git
First install the swig
package with your operating system package manager.
Make sure you have the latest stable version of Android Studio installed, you can download it from here. Open the project by opening the build.gradle in the root of this repository with Android Studio. Make sure that you have the following packages installed in the SDK Manager (Tools -> SDK Manager):
- SDK Platforms - Android 10
- SDK Tools - Android SDK Build Tools
- SDK Tools - LLDB
- SDK Tools - CMake
- SDK Tools - Android SDK Platform-Tools
- SDK Tools - Android SDK Tools
- SDK Tools - Android SDK Tools
- SDK Tools - NDK - 19.2.x version (a later version might work, but is untested)
To find a specific version of a package (for the NDK), check the option 'Show Package Details' in the bottom-lower corner of the SDK Manager.
The app should now build when selecting Run -> Run 'app', or clicking the green play button next to the device selector.
$ sudo dnf -y install \
unzip \
git \
swig \
java-1.8.0-openjdk \
java-1.8.0-openjdk-devel \
ncurses-compat-libs
We last tested this (succesfully) on 2019-10-31 with Fedora 31.
$ sudo apt -y install openjdk-8-jdk git curl unzip swig
Generate a key store for signing the Android application:
$ keytool \
-genkey \
-keystore ${HOME}/android.jks \
-keyalg RSA \
-keysize 4096 \
-sigalg SHA256withRSA \
-dname "CN=eduVPN for Android" \
-validity 10000 \
-alias eduVPN
Additional documentation here.
$ ./builder_setup.sh
$ ./build_app.sh
You'll find the signed output APK in ${HOME}/Projects.