pikapika/scripts/build-apk-x86.sh

10 lines
222 B
Bash

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