0
0
Fork 0
mirror of https://git.zx2c4.com/wireguard-android synced 2026-06-13 06:44:50 +00:00
No description
  • Kotlin 52.9%
  • Java 44.7%
  • Go 0.9%
  • C 0.5%
  • CMake 0.5%
  • Other 0.4%
Find a file
Jason A. Donenfeld e7b3a3c118 gradle: remove unused settings
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
2026-03-17 01:50:01 +01:00
.idea ui: reformat all code 2023-05-05 13:18:30 +02:00
gradle gradle: update to agp 9.1 2026-03-15 19:20:29 +01:00
tunnel tunnel: uatch minSdk between tunnel and ui 2026-03-15 19:24:14 +01:00
ui ui: remove use of deprecated bundleOf 2026-03-15 22:25:56 +01:00
.gitignore build: remove bespoke signing config properties 2023-04-06 17:16:29 +02:00
.gitmodules tools: clean unwanted ELF flags from binaries 2023-04-05 13:50:57 +02:00
build.gradle.kts gradle: update to agp 9.1 2026-03-15 19:20:29 +01:00
COPYING global: move to Apache 2.0 2018-07-06 16:28:46 +02:00
gradle.properties gradle: remove unused settings 2026-03-17 01:50:01 +01:00
gradlew gradle: upgrade to 9.1.0 2025-10-20 18:22:36 +02:00
README.md README: account for java version updates 2023-05-03 14:23:54 +02:00
settings.gradle.kts gradle: use = instead of .set 2025-05-08 04:59:37 +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.