pikapika/scripts/build-apk-x64.sh

10 lines
227 B
Bash

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