x/mobile: gomobile cannot add extra so library #58621
Labels
FrozenDueToAge
mobile
Android, iOS, and x/mobile
NeedsInvestigation
Someone must examine and confirm this is a valid issue and not a duplicate of an existing one.
WaitingForInfo
Issue is not actionable because of missing required information, which needs to be provided.
Milestone
My go project use a so library, such as example.so. After I using gomobile to make an aar and build it in android apk, I get the error that couldn't find the library example.so. There is only ibgojin.so in the aar, example.so is missing.


Following is my build command.
CGO_LDFLAGS="-L$(libs_dir)/android_arm64" CC="$(android_ndk_bin)/aarch64-linux-android30-clang" gomobile bind -ldflags "-s -w" -v -target=android/arm64
The text was updated successfully, but these errors were encountered: