Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

启用multi apk #9

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 7 additions & 2 deletions .github/workflows/android.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ jobs:
- name: Build with Gradle
run: ./gradlew build

- uses: noriban/sign-android-release@v3
- uses: storytellerF/sign-android-release@master
name: Sign app APK
# ID used to access action output
id: sign_app
Expand All @@ -51,7 +51,12 @@ jobs:
- uses: actions/upload-artifact@v3
with:
name: Signed app bundle
path: ${{steps.sign_app.outputs.signedReleaseFile}}
path: |
${{ steps.sign_app.outputs.signedReleaseFile0 }}
${{ steps.sign_app.outputs.signedReleaseFile1 }}
${{ steps.sign_app.outputs.signedReleaseFile2 }}
${{ steps.sign_app.outputs.signedReleaseFile3 }}
${{ steps.sign_app.outputs.signedReleaseFile4 }}

release:
name: Release APK
Expand Down
5 changes: 2 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,17 +1,16 @@
# Fei

[![Android CI](https://github.com/storytellerF/Fei/actions/workflows/android.yml/badge.svg)](https://github.com/storytellerF/Fei/actions/workflows/android.yml)
## 榧

当前**Android Studio Hedgehog** 与agp 存在bug,不要使用这个项目编译release 包。
## 榧

使用:

选择➕可以选择要分享的文件。然后点击端口号会弹出来一个二维码,扫描二维码就能在浏览器中访问。

基于webSocket 的即时通讯: your ip:your port/messages

todo:
todo:

1. - [x] 即时聊天
2. - [ ] 上传文件
Expand Down
19 changes: 10 additions & 9 deletions app/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -51,15 +51,16 @@ android {
pickFirsts += ['META-INF/*']
}
}
// splits {
//
// // Configures multiple APKs based on ABI.
// abi {
// enable true
// include "x86", "x86_64", "arm64-v8a", "armeabi-v7a"
// universalApk true
// }
// }
splits {

// Configures multiple APKs based on ABI.
abi {
enable true
reset()
include "x86", "x86_64", "arm64-v8a", "armeabi-v7a"
universalApk true
}
}
}

dependencies {
Expand Down