- Download and install the PY (fwGenerator.py) from GitHub Releases
- Download Termux and run fwGenerator.py and copy the file and upload it to your Gihab with the name.
.github/workflows
name: Flutter Build
on:
push:
branches:
- main
pull_request:
branches:
- main
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v4
- name: Set up JDK
uses: actions/setup-java@v4
with:
distribution: 'temurin'
java-version: '17'
- name: Set up Flutter
uses: subosito/flutter-action@v2
with:
flutter-version: '{flutter_sdk_version}'
- name: Print Flutter version
run: flutter --version
- name: Create and set up Flutter project
run: |
flutter create flutter_so
cd flutter_so
flutter pub get
- name: Build APK for arm64 and armeabi-v7a
run: |
cd flutter_so
flutter build apk --release --target-platform android-arm,android-arm64
- name: Upload libflutter.so for arm64
uses: actions/upload-artifact@v4
with:
name: libflutter_so_arm64
path: flutter_so/build/app/intermediates/merged_native_libs/release/out/lib/arm64-v8a/libflutter.so
- name: Upload libflutter.so for armeabi-v7a
uses: actions/upload-artifact@v4
with:
name: libflutter_so_armeabi_v7a
path: flutter_so/build/app/intermediates/merged_native_libs/release/out/lib/armeabi-v7a/libflutter.so
libflutter.so search (stable)
version code
https://docs.flutter.dev/release/archive
termux-setup-storage
apt update
apt upgrade
pkg install python -y
python fwGenerator.py /storage/emulated/0/MT2/apks/arm64-v8a/libflutter.so