43 lines
1.4 KiB
Markdown
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

---
outline: deep
---
# Android
本节介绍如何在Android上安装sif2。
### 获取原版游戏安装包(可选)
你需要先获取原版的游戏安装包,你可以从下面的链接中获取原版的游戏安装包。
- [国际服](https://arasfon.ru/direct/lovelive/sif2/server-patcher/base-apks/sif2_gl_base_hlow.apk)
- [日服](https://arasfon.ru/direct/lovelive/sif2/server-patcher/base-apks/sif2_jp_base_hlow.apk)
### 给原版安装包打补丁
1. 打开[LLSIF2 Server Patcher](https://arasfon.ru/sif2/patcher/)。
2. 打开使用自定义apk将apk拖入上传框中。可选
3. 将Server URL输入到API URL中。
4. 将资源服务器URL输入到Assets URL中一个可选的资源服务器为https://sif2.sif.moe 。
5. 选择游戏版本。
6. 更改头部格式Header format为Lowercase。
7. 点击修补Patch
8. 下载修补好的安装包文件。
:::tip 注意
Server URL的获取请咨询服主
:::
![patch](../../image/27.png)
### 给修补好的安装包文件签名
使用[uber-apk-signer](https://github.com/patrickfav/uber-apk-signer/releases/download/v1.3.0/uber-apk-signer-1.3.0.jar)给安装包签名。
1. 安装[JDK8+](https://adoptium.net/temurin/releases/)
![JDK](../../image/32.png)
```shell
java -jar uber-apk-signer-1.3.0.jar --apks sif2_patched.apk
```
:::tip 注意
jar和apk路径位置请根据自己的情况修改
:::
![打包](../../image/33.png)
### 传入手机安装
基本操作,不展开说明