pikapika/scripts/build-apk-x86.sh

10 lines
231 B
Bash
Raw Normal View History

2022-02-11 02:06:19 +00:00
# 仅构建x86的APK
cd "$( cd "$( dirname "$0" )" && pwd )/.."
cd go/mobile
2022-03-22 09:12:48 +00:00
go get golang.org/x/mobile/cmd/gobind
2022-02-11 02:06:19 +00:00
gomobile bind -target=android/386 -o lib/Mobile.aar ./
cd ../..
flutter build apk --target-platform android-x86