build: use split apks
Build multiple architecture-specfic APKs alongside the single "fat" APK.
This commit is contained in:
parent
5eab83ba4d
commit
055d25e3e1
2 changed files with 10 additions and 1 deletions
2
.github/workflows/android.yml
vendored
2
.github/workflows/android.yml
vendored
|
@ -31,4 +31,4 @@ jobs:
|
||||||
uses: actions/upload-artifact@v3.1.1
|
uses: actions/upload-artifact@v3.1.1
|
||||||
with:
|
with:
|
||||||
name: Auxio_Canary
|
name: Auxio_Canary
|
||||||
path: ./app/build/outputs/apk/debug/app-debug.apk
|
path: ./app/build/outputs/apk/debug/*.apk
|
||||||
|
|
|
@ -57,6 +57,15 @@ android {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
splits {
|
||||||
|
abi {
|
||||||
|
enable true
|
||||||
|
reset()
|
||||||
|
include "x86", "x86_64", "arm64-v8a", "armeabi-v7a"
|
||||||
|
universalApk true
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
buildFeatures {
|
buildFeatures {
|
||||||
viewBinding true
|
viewBinding true
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue