Upgrade gomobile android api level
This commit is contained in:
parent
8225250df8
commit
6c9f3b8181
|
@ -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'
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue