VPN for Android
Find a file
2026-02-10 16:31:45 +01:00
.idea Repo cloned 2026-02-10 16:31:45 +01:00
gradle Repo cloned 2026-02-10 16:31:45 +01:00
tunnel Repo cloned 2026-02-10 16:31:45 +01:00
ui Repo cloned 2026-02-10 16:31:45 +01:00
.gitignore Repo cloned 2026-02-10 16:31:45 +01:00
.gitmodules Repo cloned 2026-02-10 16:31:45 +01:00
build.gradle.kts Repo cloned 2026-02-10 16:31:45 +01:00
COPYING Repo cloned 2026-02-10 16:31:45 +01:00
gradle.properties Repo cloned 2026-02-10 16:31:45 +01:00
gradlew Repo cloned 2026-02-10 16:31:45 +01:00
README.md Repo cloned 2026-02-10 16:31:45 +01:00
settings.gradle.kts Repo cloned 2026-02-10 16:31:45 +01:00
sync-crowdin.sh Repo cloned 2026-02-10 16:31:45 +01:00

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.