Upgrade gomobile android api level

This commit is contained in:
niuhuan 2022-08-11 13:31:55 +08:00
parent 8225250df8
commit 6c9f3b8181
5 changed files with 5 additions and 5 deletions

View File

@ -173,7 +173,7 @@ jobs:
platform-tools
platforms;android-32
build-tools;30.0.2
ndk;22.1.7171670
ndk;23.1.7779620
- name: Setup msys2 (Windows)
if: steps.check_asset.outputs.skip_build != 'true' && matrix.config.target == 'windows'

View File

@ -4,6 +4,6 @@ cd "$( cd "$( dirname "$0" )" && pwd )/.."
cd go/mobile
go get golang.org/x/mobile/cmd/gobind
gomobile bind -target=android/arm -o lib/Mobile.aar ./
gomobile bind -androidapi 19 -target=android/arm -o lib/Mobile.aar ./
cd ../..
flutter build apk --target-platform android-arm

View File

@ -4,6 +4,6 @@ cd "$( cd "$( dirname "$0" )" && pwd )/.."
cd go/mobile
go get golang.org/x/mobile/cmd/gobind
gomobile bind -target=android/arm64 -o lib/Mobile.aar ./
gomobile bind -androidapi 19 -target=android/arm64 -o lib/Mobile.aar ./
cd ../..
flutter build apk --target-platform android-arm64

View File

@ -4,6 +4,6 @@ cd "$( cd "$( dirname "$0" )" && pwd )/.."
cd go/mobile
go get golang.org/x/mobile/cmd/gobind
gomobile bind -target=android/amd64 -o lib/Mobile.aar ./
gomobile bind -androidapi 19 -target=android/amd64 -o lib/Mobile.aar ./
cd ../..
flutter build apk --target-platform android-x64

View File

@ -4,6 +4,6 @@ cd "$( cd "$( dirname "$0" )" && pwd )/.."
cd go/mobile
go get golang.org/x/mobile/cmd/gobind
gomobile bind -target=android/386 -o lib/Mobile.aar ./
gomobile bind -androidapi 19 -target=android/386 -o lib/Mobile.aar ./
cd ../..
flutter build apk --target-platform android-x86