/ClashForAndroid

A rule-based tunnel for Android.

Primary LanguageKotlinGNU General Public License v3.0GPL-3.0

Clash for Android

A Graphical user interface of clash for Android

Get it on Google Play or Releases

Feature

Fully feature of clash (Exclude external-controller

Requirement

  • Android 7.0+
  • armeabi-v7a , arm64-v8a, x86 or x86_64 Architecture

License

See also LICENSE and NOTICE

Privacy Policy

See also PRIVACY_POLICY.md

Build

  1. Update submodules

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

  3. Create local.properties in project root with

    sdk.dir=/path/to/android-sdk
    ndk.dir=/path/to/android-ndk
    appcenter.key=<AppCenter Key>    # Optional, from "appcenter.ms"
  4. Create keystore.properties in project root with

    storeFile=/path/to/keystore/file
    storePassword=<key store password>
    keyAlias=<key alias>
    keyPassword=<key password>
  5. Build

    ./gradlew app:assembleRelease
  6. Pick app-release-<arch>.apk in app/build/outputs/apks