在使用gomobile編譯封裝庫時,報了這個錯誤,我的sdk和ndk都是通過Android studio安裝的。請問各位大佬我應該如何解決?十分感謝
# runtime/cgo
ld: error: duplicate symbol: x_cgo_inittls
>>> defined at gcc_android.c
>>> $WORK\b033\_x003.o:(x_cgo_inittls)
>>> defined at gcc_linux_arm.c
>>> $WORK\b033\_x006.o:(.bss+0x4)
clang: error: linker command failed with exit code 1 (use -v to see invocation)
轉載請註明出處,本文鏈接:https://www.uj5u.com/qita/249182.html
標籤:go語言
上一篇:arcgis python求解惑
