/ClashForAndroid

A rule-based tunnel for Android.

Primary LanguageKotlinGNU General Public License v3.0GPL-3.0

Clash for Android

A GUI for clash on Android

NOTICE: Early testing currently

Feature

Fully feature of clash (Exclude external-controller

Requirement

  • Android 7.0+
  • arm64 or x86_64 architecture

License

See also LICENSE and NOTICE

Build

  1. Update submodules

    git submodule update --init --recursive
  2. Install Android SDK ,Android NDK and Golang

  3. Configure local.properties

    sdk.dir=/path/to/android-sdk
    ndk.dir=/path/to/android-ndk
  4. Get google-service.json from Firebase and copy it to app/google-service.json

  5. Build

    on Linux

    ./gradlew build

    on Windows

    .\gradlew.bat build