pikapika/scripts/build-apk-x64.sh

10 lines
236 B
Bash

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