pikapika/scripts/build-apk-arm64.sh

10 lines
237 B
Bash

# 仅构建arm64的APK
cd "$( cd "$( dirname "$0" )" && pwd )/.."
cd go/mobile
go get golang.org/x/mobile/cmd/gobind
gomobile bind -target=android/arm64 -o lib/Mobile.aar ./
cd ../..
flutter build apk --target-platform android-arm64