Go compiles android.so that cannot be referenced.
You can try using other compilation tools. According to the public information about the query, you can compile Androidso libraries with and link them to Go language code. But sometimes you will encounter reference problems when compiling Androidso library with Go. In order to solve this problem, you can try to use other compilation tools, such as Clang or other compilers.