ClashMetaForAndroid/README.md

57 lines
1.4 KiB
Markdown
Raw Normal View History

2021-05-15 00:51:08 +08:00
## Clash for Android
A Graphical user interface of [clash](https://github.com/Dreamacro/clash) for Android
<a href="https://play.google.com/store/apps/details?id=com.github.kr328.clash"><img width="200px" alt="Get it on Google Play" src="https://play.google.com/intl/en_us/badges/static/images/badges/en_badge_web_generic.png"/></a> or [Releases](https://github.com/Kr328/ClashForAndroid/releases)
### Feature
Fully feature of [clash](https://github.com/Dreamacro/clash) ~~(Exclude `external-controller`~~
### Requirement
- Android 5.0+ (minimum)
- Android 7.0+ (recommend)
- `armeabi-v7a` , `arm64-v8a`, `x86` or `x86_64` Architecture
2021-05-15 00:51:08 +08:00
### License
See also [LICENSE](./LICENSE) and [NOTICE](./NOTICE)
### Privacy Policy
2021-05-15 00:51:08 +08:00
See also [PRIVACY_POLICY.md](./PRIVACY_POLICY.md)
### Build
1. Update submodules
```bash
git submodule update --init --recursive
```
2021-05-22 19:54:34 +08:00
2. Install **OpenJDK 11**, **Android SDK**, **CMake** and **Golang**
2021-05-15 00:51:08 +08:00
3. Create `local.properties` in project root with
2021-05-15 00:51:08 +08:00
```properties
sdk.dir=/path/to/android-sdk
```
2021-09-12 18:25:09 +08:00
4. Create `signing.properties` in project root with
2021-05-15 00:51:08 +08:00
```properties
2021-09-12 18:25:09 +08:00
keystore.path=/path/to/keystore/file
keystore.password=<key store password>
key.alias=<key alias>
key.password=<key password>
```
2021-05-15 00:51:08 +08:00
5. Build
```bash
2021-05-22 19:54:34 +08:00
./gradlew app:assembleFossRelease
2021-05-15 00:51:08 +08:00
```
2021-09-12 18:25:09 +08:00
6. Pick `app-foss-<arch>-release.apk` in `app/build/outputs/apk/foss/release/`