Closed ido-ran closed 6 years ago
this is the script I use:
mkdir /tmp/workspace
cd /tmp/workspace/
export GOPATH=/tmp/workspace/
export PATH=$GOPATH/bin:$PATH
go get -d github.com/ipfs/go-ipfs
cd $GOPATH/src/github.com/ipfs/go-ipfs
make toolkit_upgrade
make deps
xgo -go 1.8.3 -ldflags "-s -w" --targets=android-16/* ./cmd/ipfs
In what environment did you build it?
Ubuntu 18.04.1
Can you please explain how you built the x86 and arm images of ipfs-daemon to run on Android devices?