Skip to content

WireGuard/wireguard-android

Folders and files

NameName
Last commit message
Last commit date

Latest commit

4ba8794 · Oct 22, 2023
May 5, 2023
Oct 13, 2023
Oct 22, 2023
Oct 18, 2023
Apr 6, 2023
Apr 5, 2023
Jul 6, 2018
May 3, 2023
Sep 12, 2023
Oct 18, 2023
Sep 12, 2023
May 2, 2023
Oct 14, 2020

Repository files navigation

Android GUI for WireGuard

Download from the Play Store

This is an Android GUI for WireGuard. It opportunistically uses the kernel implementation, and falls back to using the non-root userspace implementation.

Building

$ git clone --recurse-submodules https://git.zx2c4.com/wireguard-android
$ cd wireguard-android
$ ./gradlew assembleRelease

macOS users may need flock(1).

Embedding

The tunnel library is on Maven Central, alongside extensive class library documentation.

implementation 'com.wireguard.android:tunnel:$wireguardTunnelVersion'

The library makes use of Java 8 features, so be sure to support those in your gradle configuration with desugaring:

compileOptions {
    sourceCompatibility JavaVersion.VERSION_17
    targetCompatibility JavaVersion.VERSION_17
    coreLibraryDesugaringEnabled = true
}
dependencies {
    coreLibraryDesugaring "com.android.tools:desugar_jdk_libs:2.0.3"
}

Translating

Please help us translate the app into several languages on our translation platform.