Skip to content

Commit

Permalink
disable x84_64 builds due to issues in Google Play
Browse files Browse the repository at this point in the history
  • Loading branch information
dreautall committed Oct 27, 2024
1 parent 5a7d8f9 commit d65f300
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 10 deletions.
9 changes: 0 additions & 9 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -69,10 +69,6 @@ jobs:
with:
name: app-armeabi-v7a-release.apk
path: build/app/outputs/apk/release/app-armeabi-v7a-release.apk
- uses: actions/upload-artifact@v4
with:
name: app-x86_64-release.apk
path: build/app/outputs/flutter-apk/app-x86_64-release.apk

- uses: actions/upload-artifact@v4
with:
Expand Down Expand Up @@ -101,17 +97,12 @@ jobs:
with:
name: app-armeabi-v7a-release.apk
path: ./artifacts
- uses: actions/download-artifact@v4
with:
name: app-x86_64-release.apk
path: ./artifacts

- uses: softprops/action-gh-release@v2
with:
files: |
./artifacts/app-arm64-v8a-release.apk
./artifacts/app-armeabi-v7a-release.apk
./artifacts/app-x86_64-release.apk
deploy:
runs-on: ubuntu-latest
Expand Down
11 changes: 10 additions & 1 deletion android/app/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -90,6 +90,15 @@ android {
// Disables dependency metadata when building Android App Bundles.
includeInBundle = false
}

splits {
abi {
enable true

reset()
include 'armeabi-v7a', 'arm64-v8a'
}
}
}

flutter {
Expand All @@ -106,7 +115,7 @@ dependencies {
implementation 'androidx.window:window-java:1.1.0-rc01' // Added: flutter_local_notifications
}

ext.abiCodes = ["x86_64": 1, "armeabi-v7a": 2, "arm64-v8a": 3]
ext.abiCodes = ["armeabi-v7a": 2, "arm64-v8a": 3]
import com.android.build.OutputFile
android.applicationVariants.all { variant ->
variant.outputs.each { output ->
Expand Down

0 comments on commit d65f300

Please sign in to comment.