5
1
Fork
You've already forked wireguard-android
0
Mirror only. Official repository is at https://git.zx2c4.com/wireguard-android
  • Kotlin 52.8%
  • Java 44.7%
  • Go 0.9%
  • C 0.8%
  • CMake 0.5%
  • Other 0.2%
Find a file
2026年07月10日 11:25:53 +02:00
.idea ui: reformat all code 2023年05月05日 13:18:30 +02:00
gradle Set AGP version to be in sync with other components 2025年11月06日 11:45:03 +01:00
tunnel libwg go.mod/go.sum: update deps 2026年07月10日 11:25:53 +02:00
ui ProxyGuard and submodule embedding changes 2025年07月24日 11:54:15 +02:00
.gitignore build: remove bespoke signing config properties 2023年04月06日 17:16:29 +02:00
.gitmodules ProxyGuard and submodule embedding changes 2025年07月24日 11:54:15 +02:00
build.gradle.kts gradle: update to agp 8.9.2 and gradle 8.14 2025年05月05日 15:44:24 +02:00
COPYING global: move to Apache 2.0 2018年07月06日 16:28:46 +02:00
gradle.properties version: bump 2025年05月31日 04:22:08 +02:00
gradlew gradle: update to agp 8.9.2 and gradle 8.14 2025年05月05日 15:44:24 +02:00
README.md README: account for java version updates 2023年05月03日 14:23:54 +02:00
settings.gradle.kts ProxyGuard and submodule embedding changes 2025年07月24日 11:54:15 +02:00
sync-crowdin.sh build: crowdin now requires auth 2025年05月15日 17:20:08 +02: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.