specified gomobile version

This commit is contained in:
TenderIronh
2024-10-20 21:33:20 +08:00
parent df1e16e708
commit f015b828fc

View File

@@ -2,9 +2,10 @@
depends on openjdk 11, gradle 8.1.3, ndk 21
```
go install golang.org/x/mobile/cmd/gomobile@latest
# latest version not support go1.20
go install golang.org/x/mobile/cmd/gomobile@7c4916698cc93475ebfea76748ee0faba2deb2a5
gomobile init
go get -v golang.org/x/mobile/bind
go get -v golang.org/x/mobile/bind@7c4916698cc93475ebfea76748ee0faba2deb2a5
cd core
gomobile bind -target android -v
if [[ $? -ne 0 ]]; then