I've done this before, though. But this never happened. It's entirely possible to run Ollama on Android. There are a bunch of tutorials out there if you want to check.
What does the go.mod file look like? Go 1.23.4 is relatively new so maybe binaries for your platform aren't available yet? What does go version output?
I have had this before in Go when I had an older version of Go installed but the dependency needed a newer version. It then tries to download a temporary tool chain of a new Go version to compile the dependency (or whatever it is doing). For me, that failed. What did work was upgrading Go to the latest version.
You can check what your installed Go version is by