Cannot locate symbol "g_free"

I am trying to build my Rust application for Android using the android-activity crate. The program compiles fine, I selected the Android Gstreamer binaries for linking, but when running it on the target device it crashes with this error:

--------- beginning of crash
12-19 11:51:29.468 10806 10806 E AndroidRuntime: FATAL EXCEPTION: main
12-19 11:51:29.468 10806 10806 E AndroidRuntime: Process: rust.tablet, PID: 10806
12-19 11:51:29.468 10806 10806 E AndroidRuntime: java.lang.UnsatisfiedLinkError: Unable to load native library "/data/app/~~0d-8sDmymhrLw-X-yPjpoQ==/rust.tablet-fVwFPx2dbgnGNWs-Qyrqug==/lib/arm64/libtablet.so": dlopen failed: cannot locate symbol "g_free" referenced by "/data/app/~~0d-8sDmymhrLw-X-yPjpoQ==/rust.tablet-fVwFPx2dbgnGNWs-Qyrqug==/lib/arm64/libtablet.so"...
12-19 11:51:29.468 10806 10806 E AndroidRuntime: 	at android.app.NativeActivity.onCreate(NativeActivity.java:178)
12-19 11:51:29.468 10806 10806 E AndroidRuntime: 	at android.app.Activity.performCreate(Activity.java:8342)
12-19 11:51:29.468 10806 10806 E AndroidRuntime: 	at android.app.Activity.performCreate(Activity.java:8321)
12-19 11:51:29.468 10806 10806 E AndroidRuntime: 	at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1418)
12-19 11:51:29.468 10806 10806 E AndroidRuntime: 	at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:3626)
12-19 11:51:29.468 10806 10806 E AndroidRuntime: 	at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:3782)
12-19 11:51:29.468 10806 10806 E AndroidRuntime: 	at android.app.servertransaction.LaunchActivityItem.execute(LaunchActivityItem.java:101)
12-19 11:51:29.468 10806 10806 E AndroidRuntime: 	at android.app.servertransaction.TransactionExecutor.executeCallbacks(TransactionExecutor.java:138)
12-19 11:51:29.468 10806 10806 E AndroidRuntime: 	at android.app.servertransaction.TransactionExecutor.execute(TransactionExecutor.java:95)
12-19 11:51:29.468 10806 10806 E AndroidRuntime: 	at android.app.ActivityThread$H.handleMessage(ActivityThread.java:2307)
12-19 11:51:29.468 10806 10806 E AndroidRuntime: 	at android.os.Handler.dispatchMessage(Handler.java:106)
12-19 11:51:29.468 10806 10806 E AndroidRuntime: 	at android.os.Looper.loopOnce(Looper.java:201)
12-19 11:51:29.468 10806 10806 E AndroidRuntime: 	at android.os.Looper.loop(Looper.java:288)
12-19 11:51:29.468 10806 10806 E AndroidRuntime: 	at android.app.ActivityThread.main(ActivityThread.java:7964)
12-19 11:51:29.468 10806 10806 E AndroidRuntime: 	at java.lang.reflect.Method.invoke(Native Method)
12-19 11:51:29.468 10806 10806 E AndroidRuntime: 	at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:548)
12-19 11:51:29.468 10806 10806 E AndroidRuntime: 	at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:942)

Does anyone know how I should add the g_free symbol to my build? Thanks!