diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 99c99e96..a55998c8 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -69,6 +69,10 @@ 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: @@ -97,12 +101,17 @@ 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 diff --git a/android/app/build.gradle b/android/app/build.gradle index 99b62a26..4c4404ec 100644 --- a/android/app/build.gradle +++ b/android/app/build.gradle @@ -90,15 +90,6 @@ android { // Disables dependency metadata when building Android App Bundles. includeInBundle = false } - - splits { - abi { - enable true - - reset() - include 'armeabi-v7a', 'arm64-v8a' - } - } } flutter { @@ -115,7 +106,7 @@ dependencies { implementation 'androidx.window:window-java:1.1.0-rc01' // Added: flutter_local_notifications } -ext.abiCodes = ["armeabi-v7a": 2, "arm64-v8a": 3] +ext.abiCodes = ["x86_64": 1, "armeabi-v7a": 2, "arm64-v8a": 3] import com.android.build.OutputFile android.applicationVariants.all { variant -> variant.outputs.each { output ->