pikapika/scripts/build-apk-arm.sh

10 lines
231 B
Bash

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