From 1385f62fb008490a5bd6ecdd2f41cdb4d3c16d22 Mon Sep 17 00:00:00 2001 From: Li Wei Date: Wed, 28 Jun 2023 03:09:05 +0000 Subject: [PATCH] ci: fix gomobile android build --- .github/workflows/build.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index f95731df..72cbd22a 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -281,6 +281,7 @@ jobs: run: | go install golang.org/x/mobile/cmd/gomobile@latest go get golang.org/x/mobile/bind + go mod tidy gomobile init gomobile bind -tags nosqlite -ldflags="-w -s" -o ui/flutter/android/app/libs/libgopeed.aar -target=android -androidapi 19 -javapkg=com.gopeed github.com/GopeedLab/gopeed/bind/mobile cd ui/flutter