ShadowVPN for Android
ShadowVPN for Android. Still in progress.
Download
ShadowVPN is in beta and may have bugs. If you still want to have a try:
How to build ShadowVPN
This is a Gradle-based project that works best with Android Studio.
-
Install the following software: - Android SDK: http://developer.android.com/sdk/index.html - Android NDK: http://developer.android.com/tools/sdk/ndk/index.html - Gradle: http://www.gradle.org/downloads - Android Studio: http://developer.android.com/sdk/installing/studio.html
-
Configure the
ANDROID_HOME
andANDROID_NDK_HOME
environment variables based on the location of the Android SDK and Android NDK. Additionally, consider addingANDROID_HOME/tools
andANDROID_HOME/platform-tools
to your$PATH
. -
Run the Android SDK Manager by pressing the SDK Manager toolbar button in Android Studio or by running the
android
command in a terminal window. -
In the Android SDK Manager, ensure that the following are installed, and are updated to the latest available version: - Tools > Android SDK Platform-tools (rev 21 or above) - Tools > Android SDK Tools (rev 24.0.2 or above) - Tools > Android SDK Build-tools version 21 (rev 21.1.2 or above) - Android 5.0.1 > SDK Platform (API 21) - Extras > Android Support Repository - Extras > Android Support Library
-
Build native library.
apt-get/brew install libtool automake git submodule update --init --recursive make
-
Import the project in Android Studio:
- Press File > Import Project
- Navigate to and choose the settings.gradle file in this project
- Press OK
-
Choose Build > Make Project in Android Studio or run the following command in the project root directory:
gradle clean assembleDebug
-
To install on your test device:
gradle installDebug