You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
runtime/cgo
# runtime/cgo
ld: error: duplicate symbol: x_cgo_inittls
>>> defined at gcc_android.c:90
>>> $WORK/b039/_x003.o:(x_cgo_inittls)
>>> defined at gcc_linux_arm.c:13
>>> $WORK/b039/_x006.o:(.bss+0x4)
clang: error: linker command failed with exit code 1 (use -v to see invocation)
gomobile: go build -v -buildmode=c-shared -o=/var/folders/ds/2v9832g575jblpl14n7p3nxh0000gn/T/gomobile-work-050374355/android/src/main/jniLibs/armeabi-v7a/libgojni.so ./gobind failed: exit status 2
What version of Go are you using (
go version
)?Does this issue reproduce with the latest release?
YES
What operating system and processor architecture are you using (
go env
)?go env
OutputWhat did you do?
My OS is Mac 10.15.7.
gomobile bind -v -target=android helloWorld/hello
But get
I try to solve with
etc.
But always error.
Here is my .bash_profile
PS:gomobile bind -v -target=ios helloWorld/hello:this is fine to generate .framework
PS:

What did you expect to see?
.aar
What did you see instead?
Thank you !!
The text was updated successfully, but these errors were encountered: