This repository allows building native Flutter shared libraries (libflutter.so) for Android (arm64-v8a and armeabi-v7a) for specific Flutter SDK versions or Dart SDK versions directly via GitHub Actions.
- Fork this repository.
- Go to Settings in your forked repo.
- Select Actions -> General on the left side pane.
- Under Workflow permissions, select Read and write permissions and save.
- Go to the Actions tab in your repository.
- Select the Flutter Build workflow on the left sidebar.
- Click the Run workflow dropdown button.
- Enter your target version:
flutter_version: Enter a Flutter version (e.g.3.27.1).dart_version: Enter a Dart SDK version (e.g.3.5.4or3.10.8) to automatically look up the corresponding Flutter version.
- Select target architecture(s):
build_arm64: Build for 64-bit ARM (arm64-v8a) (enabled by default).build_armv7: Build for 32-bit ARM (armeabi-v7a) (disabled by default).
- Click Run workflow.
- The workflow will build
libflutter.soand publish the zip binaries to Releases.
- To find the correct Flutter version manually, visit the Flutter Release Archive.
- Find the Dart version for which you want to build Flutter libs.
- Locate the corresponding Flutter version in the same row.
- Enter that Flutter version into the
flutter_versionworkflow prompt.
- There are 2 workflows present in this repository:
- Flutter Build: Builds native libraries and publishes them to GitHub Releases.
- GitHub Cleanup: Cleans up older action run logs periodically to keep the repository history clean while preserving all generated releases.