https://github.com/sealdice/sealdice-android
海豹核心的安卓端实现
https://github.com/sealdice/sealdice-android
android sealdice trpg-tool
Last synced: 5 months ago
JSON representation
海豹核心的安卓端实现
- Host: GitHub
- URL: https://github.com/sealdice/sealdice-android
- Owner: sealdice
- License: mit
- Created: 2023-02-17T09:04:33.000Z (over 3 years ago)
- Default Branch: master
- Last Pushed: 2024-04-22T03:21:23.000Z (about 2 years ago)
- Last Synced: 2024-04-22T04:50:00.160Z (about 2 years ago)
- Topics: android, sealdice, trpg-tool
- Language: Kotlin
- Homepage:
- Size: 1.65 MB
- Stars: 36
- Watchers: 1
- Forks: 3
- Open Issues: 4
-
Metadata Files:
- Readme: readme.md
- License: LICENSE
Awesome Lists containing this project
README
# SealDice Android
### [SealDice海豹核心](https://github.com/sealdice/sealdice-core) 用于手机运行的版本
## 搭建须知
该项目使用了ACRA作为崩溃日志收集器
因此在运行本项目前你应当创建 com.sealdice.dice.secrets 包并在其中添加一个名为 Auth 的 java class
其内容如下
```java
package com.sealdice.dice.secrets;
public class Auth {
public static String ACRA_URL = "YOUR REPORT URL";
public static String ACRA_BASIC_AUTH = "YOUR AUTH";
public static String ACRA_LOGIN_PASS = "YOUR PASS";
}
```
或者你可以选择在MyApplication.kt中删除ACRA的初始化代码并移除import语句
然后,你需要将Android NDK内提供的C编译器路径填入CGO的CC参数并将goos参数写为“android”
随后你需要将编译好的 [SealDice海豹核心](https://github.com/sealdice/sealdice-core)
放入assets/sealdice 目录内
## 关于 issue 和 pull request
你可以通过 fork 本项目并提交 pull request 的形式贡献代码
此仓库的 Issue 已关闭,请在 [后端仓库](https://github.com/sealdice/sealdice-core) 中统一提交功能需求和 Bug 反馈