ipfs-shipyard / gomobile-ipfs

IPFS and libp2p on Mobile, with Gomobile
Other
316 stars 64 forks source link

make build_core.android error #79

Closed minddewo closed 2 years ago

minddewo commented 2 years ago

1635738042(1) run make build_core.android error How to resolve this error?

beilvla commented 2 years ago

我也是运行这make build_core.android 错误 但是我的错误好像和你的不一样,希望你指导一下 image

minddewo commented 2 years ago

python版本不兼容,要换个

---Original--- From: @.> Date: Sat, Jan 15, 2022 22:42 PM To: @.>; Cc: @.**@.>; Subject: Re: [ipfs-shipyard/gomobile-ipfs] make build_core.android error (Issue #79)

我也是运行这make build_core.android 错误 但是我的错误好像和你的不一样,希望你指导一下

— Reply to this email directly, view it on GitHub, or unsubscribe. Triage notifications on the go with GitHub Mobile for iOS or Android. You are receiving this because you authored the thread.Message ID: @.***>

beilvla commented 2 years ago

这不是go么?换py做什么?

minddewo commented 2 years ago

太久没弄,记错了,我的错误当时是换了go版本解决的。

---Original--- From: @.> Date: Sat, Jan 15, 2022 22:46 PM To: @.>; Cc: @.**@.>; Subject: Re: [ipfs-shipyard/gomobile-ipfs] make build_core.android error (Issue #79)

这不是go么?换py做什么?

— Reply to this email directly, view it on GitHub, or unsubscribe. Triage notifications on the go with GitHub Mobile for iOS or Android. You are receiving this because you authored the thread.Message ID: @.***>

beilvla commented 2 years ago

换的go的版本么?还是换的AndroidNDK的版本之类的?

minddewo commented 2 years ago

你的错误和我的不一样,你试试换ndk版本吧,我没遇到你这个错误。我换了go版本直接就编译好了 ,我是在ubuntu下编译的。

---Original--- From: @.> Date: Sat, Jan 15, 2022 22:44 PM To: @.>; Cc: @.**@.>; Subject: Re: [ipfs-shipyard/gomobile-ipfs] make build_core.android error (Issue #79)

@.*** packages % make build_core.android fatal: not a git repository (or any of the parent directories): .git fatal: not a git repository (or any of the parent directories): .git Go: installing modules

go mod download go install golang.org/x/mobile/cmd/gomobile go install golang.org/x/mobile/cmd/gobind go run golang.org/x/mobile/cmd/gomobile init -v panic: unsupported GOARCH: arm64

goroutine 1 [running]: main.archNDK(...) @./cmd/gomobile/env.go:339 main.(ndkToolchain).Path(0x1400011bc90, {0x1400014a060, 0x28}, {0x1003b4931, 0x5}) **@./cmd/gomobile/env.go:368 +0x78 main.envInit() @./cmd/gomobile/env.go:142 +0x2f0 main.runInit(0x1006d0480) @./cmd/gomobile/init.go:95 +0x558 main.main() @./cmd/gomobile/main.go:73 +0x4b0 exit status 2 make: [go] Error 1 @. packages %

— Reply to this email directly, view it on GitHub, or unsubscribe. Triage notifications on the go with GitHub Mobile for iOS or Android. You are receiving this because you authored the thread.Message ID: @.***>

beilvla commented 2 years ago

好的 谢谢

beilvla commented 2 years ago

我把ndk版本改为21.4.7075529,还是同样的错误 image

ScienceNoBorders commented 2 years ago

我把ndk版本改为21.4.7075529,还是同样的错误

怎么样,我core可以打包出来但是不知道如何用这个包创建Android的IPFS节点,它里面的.so文件我都不知道怎么用😅

beilvla commented 2 years ago

我把ndk版本改为21.4.7075529,还是同样的错误

怎么样,我core可以打包出来但是不知道如何用这个包创建Android的IPFS节点,它里面的.so文件我都不知道怎么用😅

我也不知道怎么创建ipfs节点

ScienceNoBorders commented 2 years ago

我也不知道怎么创建ipfs节点

你还在研究这个么,可以交流一下

beilvla commented 2 years ago

我也不知道怎么创建ipfs节点

你还在研究这个么,可以交流一下

可以啊

ScienceNoBorders commented 2 years ago

可以啊

Gitter 来这吧

jefft0 commented 2 years ago

Hello @minddewo . It looks like the discussion was moved to gitter. Has your issue been solved?

minddewo commented 2 years ago

@jefft0 I solved this issue a year ago, change GO version ,you can have a try.

jefft0 commented 2 years ago

Thank you for the reply. Closing this issue.