-
Notifications
You must be signed in to change notification settings - Fork 936
Closed
Description
A user_posix.go:12:6: userCurrent redeclared in this block error appeared with v1.10.2 when cross-building a project using GOOS=android. Downgrading to v1.10.1 works.
# github.com/lib/pq
/var/folders/bm/jdxjy5b55vn2dy5ngpl5j1wm0000gn/T/gomobile-work-192690997/pkg/mod/github.com/lib/[email protected]/user_posix.go:12:6: userCurrent redeclared in this block
previous declaration at /var/folders/bm/jdxjy5b55vn2dy5ngpl5j1wm0000gn/T/gomobile-work-192690997/pkg/mod/github.com/lib/[email protected]/user_other.go:7:29
gomobile: go build -v -ldflags -s -w -trimpath -buildmode=c-shared -o=/var/folders/bm/jdxjy5b55vn2dy5ngpl5j1wm0000gn/T/gomobile-work-192690997/android/src/main/jniLibs/armeabi-v7a/libgojni.so ./gobind failed: exit status 2
Metadata
Metadata
Assignees
Labels
No labels