From f015b828fca6e66128eb7d803096410685d72bdd Mon Sep 17 00:00:00 2001 From: TenderIronh Date: Sun, 20 Oct 2024 21:33:20 +0800 Subject: [PATCH] specified gomobile version --- app/README.md | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/app/README.md b/app/README.md index 126e433..761c481 100644 --- a/app/README.md +++ b/app/README.md @@ -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