mirror of
https://github.com/cmclark00/TetriStats.git
synced 2025-05-17 22:55:21 +01:00
Add 64-bit architecture support and update build configuration
This commit is contained in:
parent
782377408b
commit
3efb1b95fb
2 changed files with 22 additions and 2 deletions
|
@ -17,6 +17,11 @@ android {
|
|||
|
||||
testInstrumentationRunner = "androidx.test.runner.AndroidJUnitRunner"
|
||||
|
||||
// Ensure 64-bit architecture support
|
||||
ndk {
|
||||
abiFilters += listOf("armeabi-v7a", "arm64-v8a", "x86", "x86_64")
|
||||
}
|
||||
|
||||
ksp {
|
||||
arg("room.schemaLocation", "$projectDir/schemas")
|
||||
}
|
||||
|
@ -29,6 +34,8 @@ android {
|
|||
getDefaultProguardFile("proguard-android-optimize.txt"),
|
||||
"proguard-rules.pro"
|
||||
)
|
||||
// Make release version debuggable for now (helps with troubleshooting)
|
||||
isDebuggable = true
|
||||
}
|
||||
}
|
||||
compileOptions {
|
||||
|
@ -41,6 +48,16 @@ android {
|
|||
buildFeatures {
|
||||
viewBinding = true
|
||||
}
|
||||
|
||||
// Explicitly specify supported ABIs to ensure 64-bit compatibility
|
||||
splits {
|
||||
abi {
|
||||
isEnable = true
|
||||
reset()
|
||||
include("armeabi-v7a", "arm64-v8a", "x86", "x86_64")
|
||||
isUniversalApk = true
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
dependencies {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue