2022-02-11 02:06:19 +00:00
|
|
|
# 仅构建x86的APK
|
|
|
|
|
|
|
|
cd "$( cd "$( dirname "$0" )" && pwd )/.."
|
|
|
|
|
|
|
|
cd go/mobile
|
2023-11-17 05:02:49 +00:00
|
|
|
gomobile init
|
2022-08-11 05:31:55 +00:00
|
|
|
gomobile bind -androidapi 19 -target=android/386 -o lib/Mobile.aar ./
|
2022-02-11 02:06:19 +00:00
|
|
|
cd ../..
|
|
|
|
flutter build apk --target-platform android-x86
|