Files
Zhengqi Zhang 35845c14e6 fix(android): reconcile VPN service after startup (#2491)
Summary
Reconcile the Android system VPN after the GUI has finished initializing the EasyTier core.
Retry reconciliation while network information or the virtual IPv4 address is not ready yet.
Serialize reconciliation work and de-duplicate concurrent VPN permission requests.
Root cause
On Android, the network instance can report that it has started before collectNetworkInfo exposes the instance state and virtual IPv4 address. The previous startup path treated that temporary state as a terminal failure, stopped VPN setup, and relied on another event to retry it. If no later event arrived, peers could connect successfully while the Android VpnService remained inactive until the user stopped and started the network again.

PR #1628 added polling for the DHCP-specific empty-IP case. The same race can occur earlier, while network information is still unavailable, and can also affect static-IP configurations.
2026-08-17 22:12:01 +08:00
..
2024-10-12 19:57:36 +08:00
2024-05-07 23:01:06 +08:00
2024-04-14 23:29:34 +08:00
2025-06-02 06:47:17 +08:00
2024-05-07 22:57:56 +08:00
2024-05-07 22:57:56 +08:00
2024-12-23 19:38:32 -05:00

GUI for EasyTier

this is a GUI implementation for EasyTier, based on Tauri2.

Compile

Install prerequisites

apt install npm
npm install -g pnpm

For Desktop (Win/Mac/Linux)

cd ../tauri-plugin-vpnservice
pnpm install
pnpm build

cd ../easytier-web/frontend-lib
pnpm install
pnpm build

cd ../../easytier-gui
pnpm install
pnpm tauri build

For Android

Need to install android SDK / emulator / NDK / Java (easy with android studio)

# For ArchLinux
sudo pacman -Sy sdkmanager
sudo sdkmanager --install platform-tools platforms\;android-34 ndk\;r26 build-tools
export PATH=/opt/android-sdk/platform-tools:$PATH
export ANDROID_HOME=/opt/android-sdk/
export NDK_HOME=/opt/android-sdk/ndk/26.0.10792818/
rustup target add aarch64-linux-android

install java 20

Java version depend on gradle version specified in (easytier-gui\src-tauri\gen\android\build.gradle.kts)

See Gradle compatibility matrix for detail .

pnpm install
pnpm tauri android init
pnpm tauri android build