Bug in generating GDNative bindings for Android

:information_source: Attention Topic was automatically imported from the old Question2Answer platform.
:bust_in_silhouette: Asked By abrajam

When i generate the bindings for android with scons I get a .a file but terminal says

bin/libgodot-cpp.android.debug.armv7.a the table of contents is empty (no object file members in the library define global symbols)

then when I try to get the shared library i get this error:

error: godot-cpp.android.debug.armv7: no archive symbol table (run ranlib)

please help me with this, i researched about the error and some people have had the same mistake building static libraries with other APIs different from Godot when working with ndk because of using different compiler or target architecture for compiling and linking but as I can understand this is not the case, I have searched through the scons file to figure out something but as I can see everything looks right.

:bust_in_silhouette: Reply From: abrajam

I solved it by compiling it with the ndk-build tool for android and respective Android.mk and Application.mk, i also have reported it as an issue