update actions version
A Graphical user interface of Clash.Meta for Android
Feature of Clash.Meta
armeabi-v7a
arm64-v8a
x86
x86_64
Update submodules
git submodule update --init --recursive
Install OpenJDK 11, Android SDK, CMake and Golang
Create local.properties in project root with
local.properties
sdk.dir=/path/to/android-sdk
(Optional) Custom app package name. Add the following configuration to local.properties.
```properties
custom.application.id=com.my.compile.clash
remove.suffix=true
Create signing.properties in project root with
signing.properties
keystore.path=/path/to/keystore/file keystore.password=<key store password> key.alias=<key alias> key.password=<key password>
Build
./gradlew app:assembleAlphaRelease
APP package name is com.github.metacubex.clash.meta
com.github.metacubex.clash.meta
com.github.kr328.clash.ExternalControlActivity
com.github.metacubex.clash.meta.action.TOGGLE_CLASH
com.github.metacubex.clash.meta.action.START_CLASH
com.github.metacubex.clash.meta.action.STOP_CLASH
clash://install-config?url=<encoded URI>
clashmeta://install-config?url=<encoded URI>
android-real
MetaCubeX/Clash.Meta
Alpha
android-open
Update Dependencies
Build Pre-Release
PreRelease
Build Release
Release
Release Tag
v1.2.3
versionName
versionCode
build.gradle.kts
版权所有:中国计算机学会技术支持:开源发展技术委员会 京ICP备13000930号-9 京公网安备 11010802032778号
Clash Meta for Android
A Graphical user interface of Clash.Meta for Android
Feature
Feature of Clash.Meta
Requirement
armeabi-v7a,arm64-v8a,x86orx86_64ArchitectureBuild
Update submodules
Install OpenJDK 11, Android SDK, CMake and Golang
Create
local.propertiesin project root with(Optional) Custom app package name. Add the following configuration to
local.properties.```properties
config your ownn applicationId, or it will be ‘com.github.metacubex.clash’
custom.application.id=com.my.compile.clash
remove application id suffix, or the applicaion id will be ‘com.github.metacubex.clash.alpha’
remove.suffix=true
Create
signing.propertiesin project root withBuild
Automation
APP package name is
com.github.metacubex.clash.metacom.github.kr328.clash.ExternalControlActivitywith actioncom.github.metacubex.clash.meta.action.TOGGLE_CLASHcom.github.kr328.clash.ExternalControlActivitywith actioncom.github.metacubex.clash.meta.action.START_CLASHcom.github.kr328.clash.ExternalControlActivitywith actioncom.github.metacubex.clash.meta.action.STOP_CLASHclash://install-config?url=<encoded URI>orclashmeta://install-config?url=<encoded URI>Contribution and Project Maintenance
Meta Kernel
android-realbranch underMetaCubeX/Clash.Meta, which is a merge of the mainAlphabranch andandroid-open.Alphabranch of the Meta kernel repository.android-openbranch of the Meta kernel repository.Maintenance
MetaCubeX/Clash.Metakernel is updated to a new version, theUpdate Dependenciesactions in this repo will be triggered automatically.Build Pre-Releaseactions will compile and publish aPreReleaseversion.Build Releaseactions will compile, tag and publish aReleaseversion.Release Tagwith the tag you want to release in the format ofv1.2.3.versionNameandversionCodeinbuild.gradle.ktswill be automatically bumped to the tag you filled above.