Skip to content

Commit

Permalink
启用multi apk
Browse files Browse the repository at this point in the history
修复签名action 的错误

修复引用导出错误的问题

update readme
  • Loading branch information
storytellerF committed Dec 11, 2023
1 parent 214db81 commit e4105fd
Show file tree
Hide file tree
Showing 3 changed files with 19 additions and 14 deletions.
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

0 comments on commit e4105fd

Please sign in to comment.