This commit is contained in:
1 parent
77313b521c
commit
dda86fbcc4
1 file changed
+7
-3
@@ -56,8 +56,8 @@
|
||||
### 方式 2:从源码编译(开发者)
|
||||
```bash
|
||||
# 克隆仓库
|
||||
git clone http://git.imtan.cn/kirl/7maHelper.git
|
||||
cd 7maHelper
|
||||
git clone https://github.com/kirltrz/4ma.git
|
||||
cd 4ma
|
||||
|
||||
# 构建 Debug APK(需要 JDK 17 + Android SDK)
|
||||
./gradlew assembleDebug
|
||||
@@ -159,8 +159,12 @@ cd 7maHelper
|
||||
|
||||
Windows(PowerShell):
|
||||
```powershell
|
||||
# 设置 JDK 和 Android SDK 路径(根据你的实际安装位置修改)
|
||||
$env:JAVA_HOME = "C:\Program Files\Microsoft\jdk-17.0.20.101-hotspot"
|
||||
$env:ANDROID_HOME = "c:\Users\Tan\Desktop\7maHelper\android-sdk"
|
||||
$env:ANDROID_HOME = "path\to\your\android-sdk" # 替换为你的 SDK 路径
|
||||
|
||||
# 或在项目目录下创建 local.properties,内容为:
|
||||
# sdk.dir=/path/to/android-sdk
|
||||
|
||||
# 构建 Debug APK
|
||||
.\gradlew assembleDebug
|
||||
|
||||
Reference in new issue
Block a user