Skip to content

Commit

Permalink
Build APK for specific architectures
Browse files Browse the repository at this point in the history
In addition to the universal APK, build specific APK for `arm64-v8a` and `armeabi-v7a` architectures. This allow to download a smaller APK if the device use one of these arch. `x86_64` is used by emulators while `x86` is pretty rare to find (<1% of devices uses this arch).
  • Loading branch information
yukibtc committed Jan 10, 2025
1 parent 5faffc8 commit 87f4a98
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions app/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -107,6 +107,15 @@ android {
// signingConfig = signingConfigs.getByName("shareddebug")
// }
}

splits {
abi {
isEnable = true
reset()
include("arm64-v8a", "armeabi-v7a")
isUniversalApk = true
}
}
}
testOptions {
unitTests {
Expand Down

0 comments on commit 87f4a98

Please sign in to comment.