pikapika/scripts/build-apk-arm.sh

10 lines
246 B
Bash
Raw Permalink Normal View History

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