Hello,
I am trying to create an android build. I imported livekit_ffi amd64 android build into my project and built it. However the app crashes as soon as it is started. Below is the strack trace. Can you help me create build that works on android?
01-19 17:39:53.383 20126 20210 F libc : Fatal signal 11 (SIGSEGV), code 1 (SEGV_MAPERR), fault addr 0x0 in tid 20210 (tokio-runtime-w), pid 20126 (ultCompany.Test)
01-19 17:39:53.592 20247 20247 F DEBUG : *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** ***
01-19 17:39:53.592 20247 20247 F DEBUG : Build fingerprint: 'Xiaomi/amber_global/amber:12/SP1A.210812.016/V13.0.2.0.SKWMIXM:user/release-keys'
01-19 17:39:53.592 20247 20247 F DEBUG : Revision: '0'
01-19 17:39:53.592 20247 20247 F DEBUG : ABI: 'arm64'
01-19 17:39:53.592 20247 20247 F DEBUG : Timestamp: 2024-01-19 17:39:53.429095439+0300
01-19 17:39:53.592 20247 20247 F DEBUG : Process uptime: 0s
01-19 17:39:53.592 20247 20247 F DEBUG : Cmdline: com.DefaultCompany.Test
01-19 17:39:53.592 20247 20247 F DEBUG : pid: 20126, tid: 20210, name: tokio-runtime-w >>> com.DefaultCompany.Test <<<
01-19 17:39:53.592 20247 20247 F DEBUG : uid: 10451
01-19 17:39:53.592 20247 20247 F DEBUG : signal 11 (SIGSEGV), code 1 (SEGV_MAPERR), fault addr 0x0
01-19 17:39:53.592 20247 20247 F DEBUG : Cause: null pointer dereference
01-19 17:39:53.592 20247 20247 F DEBUG : x0 0000000000000000 x1 00000073e08d4428 x2 0000000000010006 x3 00000073e08d4408
01-19 17:39:53.592 20247 20247 F DEBUG : x4 0000000000000000 x5 00000000ffffffff x6 00000000ffffffff x7 0000000000000000
01-19 17:39:53.592 20247 20247 F DEBUG : x8 0000007405112000 x9 00000074050e78c8 x10 00000000ffffffff x11 000000741ee415fc
01-19 17:39:53.592 20247 20247 F DEBUG : x12 00000000000aedf9 x13 0000000000000001 x14 0000000000000001 x15 000019d62ec4f2ec
01-19 17:39:53.592 20247 20247 F DEBUG : x16 0000007601390d50 x17 00000076013808ec x18 00000073af562000 x19 b4000074fab88be0
01-19 17:39:53.592 20247 20247 F DEBUG : x20 00000073e08ee000 x21 00000074050ebe20 x22 0000000000004eb6 x23 0000000000004e9e
01-19 17:39:53.592 20247 20247 F DEBUG : x24 00000073e08edcb0 x25 00000073e08edcb0 x26 00000073e08edff8 x27 0000000000204000
01-19 17:39:53.592 20247 20247 F DEBUG : x28 0000000000206000 x29 00000073e08d4430
01-19 17:39:53.592 20247 20247 F DEBUG : lr 00000074047ae7b8 sp 00000073e08d4420 pc 00000074047ae724 pst 0000000060001000
01-19 17:39:53.592 20247 20247 F DEBUG : backtrace:
01-19 17:39:53.592 20247 20247 F DEBUG : #00 pc 0000000001531724 /data/app/~~gnXD98tDqsALTbriVMYR4Q==/com.DefaultCompany.Test-aqjWXsJ9XNghksrr3H7scQ==/lib/arm64/liblivekit_ffi.so (webrtc::jni::GetEnv()+40)
01-19 17:39:53.592 20247 20247 F DEBUG : #01 pc 00000000015317b4 /data/app/~~gnXD98tDqsALTbriVMYR4Q==/com.DefaultCompany.Test-aqjWXsJ9XNghksrr3H7scQ==/lib/arm64/liblivekit_ffi.so (webrtc::jni::AttachCurrentThreadIfNeeded()+36)
01-19 17:39:53.592 20247 20247 F DEBUG : #02 pc 0000000001b2fa00 /data/app/~~gnXD98tDqsALTbriVMYR4Q==/com.DefaultCompany.Test-aqjWXsJ9XNghksrr3H7scQ==/lib/arm64/liblivekit_ffi.so (livekit::CreateAndroidVideoEncoderFactory()+20)
01-19 17:39:53.592 20247 20247 F DEBUG : #03 pc 0000000001b22694 /data/app/~~gnXD98tDqsALTbriVMYR4Q==/com.DefaultCompany.Test-aqjWXsJ9XNghksrr3H7scQ==/lib/arm64/liblivekit_ffi.so (livekit::VideoEncoderFactory::InternalFactory::InternalFactory()+84)
01-19 17:39:53.592 20247 20247 F DEBUG : #04 pc 0000000001b23814 /data/app/~~gnXD98tDqsALTbriVMYR4Q==/com.DefaultCompany.Test-aqjWXsJ9XNghksrr3H7scQ==/lib/arm64/liblivekit_ffi.so (std::__ndk1::__unique_if<livekit::VideoEncoderFactory::InternalFactory>::__unique_single std::__ndk1::make_unique<livekit::VideoEncoderFactory::InternalFactory>()+40)
01-19 17:39:53.592 20247 20247 F DEBUG : #05 pc 0000000001b23764 /data/app/~~gnXD98tDqsALTbriVMYR4Q==/com.DefaultCompany.Test-aqjWXsJ9XNghksrr3H7scQ==/lib/arm64/liblivekit_ffi.so (livekit::VideoEncoderFactory::VideoEncoderFactory()+72)
01-19 17:39:53.592 20247 20247 F DEBUG : #06 pc 0000000001afa6f8 /data/app/~~gnXD98tDqsALTbriVMYR4Q==/com.DefaultCompany.Test-aqjWXsJ9XNghksrr3H7scQ==/lib/arm64/liblivekit_ffi.so (std::__ndk1::__unique_if<livekit::VideoEncoderFactory>::__unique_single std::__ndk1::make_unique<livekit::VideoEncoderFactory>()+32)
01-19 17:39:53.592 20247 20247 F DEBUG : #07 pc 0000000001af9dbc /data/app/~~gnXD98tDqsALTbriVMYR4Q==/com.DefaultCompany.Test-aqjWXsJ9XNghksrr3H7scQ==/lib/arm64/liblivekit_ffi.so (livekit::PeerConnectionFactory::PeerConnectionFactory(std::__ndk1::shared_ptr<livekit::RtcRuntime>)+944)
01-19 17:39:53.592 20247 20247 F DEBUG : #08 pc 0000000001affe6c /data/app/~~gnXD98tDqsALTbriVMYR4Q==/com.DefaultCompany.Test-aqjWXsJ9XNghksrr3H7scQ==/lib/arm64/liblivekit_ffi.so (std::__ndk1::__compressed_pair_elem<livekit::PeerConnectionFactory, 1, false>::__compressed_pair_elem<std::__ndk1::shared_ptr<livekit::RtcRuntime>&&, 0ul>(std::__ndk1::piecewise_construct_t, std::__ndk1::tuple<std::__ndk1::shared_ptr<livekit::RtcRuntime>&&>, std::__ndk1::__tuple_indices<0ul>)+84)
01-19 17:39:53.592 20247 20247 F DEBUG : #09 pc 0000000001affafc /data/app/~~gnXD98tDqsALTbriVMYR4Q==/com.DefaultCompany.Test-aqjWXsJ9XNghksrr3H7scQ==/lib/arm64/liblivekit_ffi.so (std::__ndk1::__compressed_pair<std::__ndk1::allocator<livekit::PeerConnectionFactory>, livekit::PeerConnectionFactory>::__compressed_pair<std::__ndk1::allocator<livekit::PeerConnectionFactory>&, std::__ndk1::shared_ptr<livekit::RtcRuntime>&&>(std::__ndk1::piecewise_construct_t, std::__ndk1::tuple<std::__ndk1::allocator<livekit::PeerConnectionFactory>&>, std::__ndk1::tuple<std::__ndk1::shared_ptr<livekit::RtcRuntime>&&>)+124)
01-19 17:39:53.592 20247 20247 F DEBUG : #10 pc 0000000001aff780 /data/app/~~gnXD98tDqsALTbriVMYR4Q==/com.DefaultCompany.Test-aqjWXsJ9XNghksrr3H7scQ==/lib/arm64/liblivekit_ffi.so (std::__ndk1::__shared_ptr_emplace<livekit::PeerConnectionFactory, std::__ndk1::allocator<livekit::PeerConnectionFactory> >::__shared_ptr_emplace<std::__ndk1::shared_ptr<livekit::RtcRuntime> >(std::__ndk1::allocator<livekit::PeerConnectionFactory>, std::__ndk1::shared_ptr<livekit::RtcRuntime>&&)+132)
01-19 17:39:53.592 20247 20247 F DEBUG : #11 pc 0000000001afb940 /data/app/~~gnXD98tDqsALTbriVMYR4Q==/com.DefaultCompany.Test-aqjWXsJ9XNghksrr3H7scQ==/lib/arm64/liblivekit_ffi.so (std::__ndk1::enable_if<!(is_array<livekit::PeerConnectionFactory>::value), std::__ndk1::shared_ptr<livekit::PeerConnectionFactory> >::type std::__ndk1::make_shared<livekit::PeerConnectionFactory, std::__ndk1::shared_ptr<livekit::RtcRuntime> >(std::__ndk1::shared_ptr<livekit::RtcRuntime>&&)+140)
01-19 17:39:53.592 20247 20247 F DEBUG : #12 pc 0000000001afb880 /data/app/~~gnXD98tDqsALTbriVMYR4Q==/com.DefaultCompany.Test-aqjWXsJ9XNghksrr3H7scQ==/lib/arm64/liblivekit_ffi.so (livekit::create_peer_connection_factory()+40)
01-19 17:39:53.592 20247 20247 F DEBUG : #13 pc 0000000001ada908 /data/app/~~gnXD98tDqsALTbriVMYR4Q==/com.DefaultCompany.Test-aqjWXsJ9XNghksrr3H7scQ==/lib/arm64/liblivekit_ffi.so (livekit$cxxbridge1$create_peer_connection_factory+40)
01-19 17:39:53.592 20247 20247 F DEBUG : #14 pc 00000000014c1898 /data/app/~~gnXD98tDqsALTbriVMYR4Q==/com.DefaultCompany.Test-aqjWXsJ9XNghksrr3H7scQ==/lib/arm64/liblivekit_ffi.so (webrtc_sys::peer_connection_factory::ffi::create_peer_connection_factory::h8565095cbd1ec722+24)
01-19 17:39:53.592 20247 20247 F DEBUG : #15 pc 00000000014846b8 /data/app/~~gnXD98tDqsALTbriVMYR4Q==/com.DefaultCompany.Test-aqjWXsJ9XNghksrr3H7scQ==/lib/arm64/liblivekit_ffi.so (_$LT$libwebrtc..imp..peer_connection_factory..PeerConnectionFactory$u20$as$u20$core..default..Default$GT$::default::h79cff856a6867958+116)
01-19 17:39:53.592 20247 20247 F DEBUG : #16 pc 0000000000eff4e0 /data/app/~~gnXD98tDqsALTbriVMYR4Q==/com.DefaultCompany.Test-aqjWXsJ9XNghksrr3H7scQ==/lib/arm64/liblivekit_ffi.so (_$LT$libwebrtc..peer_connection_factory..PeerConnectionFactory$u20$as$u20$core..default..Default$GT$::default::hfc715128f623b6ca+16)
01-19 17:39:53.592 20247 20247 F DEBUG : #17 pc 0000000000e873b8 /data/app/~~gnXD98tDqsALTbriVMYR4Q==/com.DefaultCompany.Test-aqjWXsJ9XNghksrr3H7scQ==/lib/arm64/liblivekit_ffi.so (livekit::rtc_engine::lk_runtime::LkRuntime::instance::hf46ab8fe5b6c1aee+264)
01-19 17:39:53.592 20247 20247 F DEBUG : #18 pc 0000000000b31ca0 /data/app/~~gnXD98tDqsALTbriVMYR4Q==/com.DefaultCompany.Test-aqjWXsJ9XNghksrr3H7scQ==/lib/arm64/liblivekit_ffi.so (livekit::rtc_engine::EngineInner::connect::_$u7b$$u7b$closure$u7d$$u7d$::h291bde9b2c5a431a+240)
01-19 17:39:53.592 20247 20247 F DEBUG : #19 pc 0000000000b33d00 /data/app/~~gnXD98tDqsALTbriVMYR4Q==/com.DefaultCompany.Test-aqjWXsJ9XNghksrr3H7scQ==/lib/arm64/liblivekit_ffi.so (livekit::rtc_engine::RtcEngine::connect::_$u7b$$u7b$closure$u7d$$u7d$::hc7e5053bf663b96c+508)
01-19 17:39:53.592 20247 20247 F DEBUG : #20 pc 0000000000a3de5c /data/app/~~gnXD98tDqsALTbriVMYR4Q==/com.DefaultCompany.Test-aqjWXsJ9XNghksrr3H7scQ==/lib/arm64/liblivekit_ffi.so (livekit::room::Room::connect::_$u7b$$u7b$closure$u7d$$u7d$::hd42e7d641a6122e5+888)
01-19 17:39:53.592 20247 20247 F DEBUG : #21 pc 0000000000adaf6c /data/app/~~gnXD98tDqsALTbriVMYR4Q==/com.DefaultCompany.Test-aqjWXsJ9XNghksrr3H7scQ==/lib/arm64/liblivekit_ffi.so (livekit_ffi::server::room::FfiRoom::connect::_$u7b$$u7b$closure$u7d$$u7d$::hacf580472749dcbc+708)
01-19 17:39:53.592 20247 20247 F DEBUG : #22 pc 00000000009ef178 /data/app/~~gnXD98tDqsALTbriVMYR4Q==/com.DefaultCompany.Test-aqjWXsJ9XNghksrr3H7scQ==/lib/arm64/liblivekit_ffi.so (tokio::runtime::task::core::Core$LT$T$C$S$GT$::poll::_$u7b$$u7b$closure$u7d$$u7d$::hbcb2b2234ef4eb57+144)
01-19 17:39:53.592 20247 20247 F DEBUG : #23 pc 00000000009ec370 /data/app/~~gnXD98tDqsALTbriVMYR4Q==/com.DefaultCompany.Test-aqjWXsJ9XNghksrr3H7scQ==/lib/arm64/liblivekit_ffi.so (tokio::runtime::task::core::Core$LT$T$C$S$GT$::poll::hefe87aa6be814a66+96)
01-19 17:39:53.592 20247 20247 F DEBUG : #24 pc 0000000000a5919c /data/app/~~gnXD98tDqsALTbriVMYR4Q==/com.DefaultCompany.Test-aqjWXsJ9XNghksrr3H7scQ==/lib/arm64/liblivekit_ffi.so (tokio::runtime::task::harness::poll_future::_$u7b$$u7b$closure$u7d$$u7d$::h0b69c9636c54b483+44)
01-19 17:39:53.592 20247 20247 F DEBUG : #25 pc 0000000000a2ebec /data/app/~~gnXD98tDqsALTbriVMYR4Q==/com.DefaultCompany.Test-aqjWXsJ9XNghksrr3H7scQ==/lib/arm64/liblivekit_ffi.so (_$LT$core..panic..unwind_safe..AssertUnwindSafe$LT$F$GT$$u20$as$u20$core..ops..function..FnOnce$LT$$LP$$RP$$GT$$GT$::call_once::hf557a2bfa5c5699f+24)
01-19 17:39:53.592 20247 20247 F DEBUG : #26 pc 0000000000a9dbfc /data/app/~~gnXD98tDqsALTbriVMYR4Q==/com.DefaultCompany.Test-aqjWXsJ9XNghksrr3H7scQ==/lib/arm64/liblivekit_ffi.so (std::panicking::try::do_call::h1c6335a86a634aaa+64)
01-19 17:39:53.592 20247 20247 F DEBUG : #27 pc 0000000000aa9698 /data/app/~~gnXD98tDqsALTbriVMYR4Q==/com.DefaultCompany.Test-aqjWXsJ9XNghksrr3H7scQ==/lib/arm64/liblivekit_ffi.so (__rust_try+24)
01-19 17:39:53.592 20247 20247 F DEBUG : #28 pc 0000000000a98bf8 /data/app/~~gnXD98tDqsALTbriVMYR4Q==/com.DefaultCompany.Test-aqjWXsJ9XNghksrr3H7scQ==/lib/arm64/liblivekit_ffi.so (std::panicking::try::h818f9471e99ac7aa+80)
01-19 17:39:53.592 20247 20247 F DEBUG : #29 pc 00000000009bd058 /data/app/~~gnXD98tDqsALTbriVMYR4Q==/com.DefaultCompany.Test-aqjWXsJ9XNghksrr3H7scQ==/lib/arm64/liblivekit_ffi.so (std::panic::catch_unwind::ha3ea7f431ebd3071+24)
01-19 17:39:53.592 20247 20247 F DEBUG : #30 pc 0000000000a55988 /data/app/~~gnXD98tDqsALTbriVMYR4Q==/com.DefaultCompany.Test-aqjWXsJ9XNghksrr3H7scQ==/lib/arm64/liblivekit_ffi.so (tokio::runtime::task::harness::poll_future::h80db88ae8356c478+72)
01-19 17:39:53.592 20247 20247 F DEBUG : #31 pc 0000000000a5e128 /data/app/~~gnXD98tDqsALTbriVMYR4Q==/com.DefaultCompany.Test-aqjWXsJ9XNghksrr3H7scQ==/lib/arm64/liblivekit_ffi.so (tokio::runtime::task::harness::Harness$LT$T$C$S$GT$::poll_inner::h8e2a59d610ab8385+144)
01-19 17:39:53.592 20247 20247 F DEBUG : #32 pc 0000000000a670cc /data/app/~~gnXD98tDqsALTbriVMYR4Q==/com.DefaultCompany.Test-aqjWXsJ9XNghksrr3H7scQ==/lib/arm64/liblivekit_ffi.so (tokio::runtime::task::harness::Harness$LT$T$C$S$GT$::poll::h9ecb66586043a35c+20)
01-19 17:39:53.592 20247 20247 F DEBUG : #33 pc 0000000000aebd38 /data/app/~~gnXD98tDqsALTbriVMYR4Q==/com.DefaultCompany.Test-aqjWXsJ9XNghksrr3H7scQ==/lib/arm64/liblivekit_ffi.so (tokio::runtime::task::raw::poll::h900ba60d19b3063a+28)
01-19 17:39:53.592 20247 20247 F DEBUG : #34 pc 0000000001b81f30 /data/app/~~gnXD98tDqsALTbriVMYR4Q==/com.DefaultCompany.Test-aqjWXsJ9XNghksrr3H7scQ==/lib/arm64/liblivekit_ffi.so (tokio::runtime::task::raw::RawTask::poll::h8cda193022f22c07+44)
01-19 17:39:53.592 20247 20247 F DEBUG : #35 pc 0000000001baafcc /data/app/~~gnXD98tDqsALTbriVMYR4Q==/com.DefaultCompany.Test-aqjWXsJ9XNghksrr3H7scQ==/lib/arm64/liblivekit_ffi.so (tokio::runtime::task::LocalNotified$LT$S$GT$::run::h70890524e3af2aea+36)
01-19 17:39:53.592 20247 20247 F DEBUG : #36 pc 0000000001bcef50 /data/app/~~gnXD98tDqsALTbriVMYR4Q==/com.DefaultCompany.Test-aqjWXsJ9XNghksrr3H7scQ==/lib/arm64/liblivekit_ffi.so (tokio::runtime::scheduler::multi_thread::worker::Context::run_task::_$u7b$$u7b$closure$u7d$$u7d$::h6ccef82e0cd51cd6+40)
01-19 17:39:53.592 20247 20247 F DEBUG : #37 pc 0000000001bcee30 /data/app/~~gnXD98tDqsALTbriVMYR4Q==/com.DefaultCompany.Test-aqjWXsJ9XNghksrr3H7scQ==/lib/arm64/liblivekit_ffi.so (tokio::runtime::scheduler::multi_thread::worker::Context::run_task::h2c27a1f09e34afa3+736)
01-19 17:39:53.592 20247 20247 F DEBUG : #38 pc 0000000001bce740 /data/app/~~gnXD98tDqsALTbriVMYR4Q==/com.DefaultCompany.Test-aqjWXsJ9XNghksrr3H7scQ==/lib/arm64/liblivekit_ffi.so (tokio::runtime::scheduler::multi_thread::worker::Context::run::h5bbeb71867da7ad3+536)
01-19 17:39:53.592 20247 20247 F DEBUG : #39 pc 0000000001bce460 /data/app/~~gnXD98tDqsALTbriVMYR4Q==/com.DefaultCompany.Test-aqjWXsJ9XNghksrr3H7scQ==/lib/arm64/liblivekit_ffi.so (tokio::runtime::scheduler::multi_thread::worker::run::_$u7b$$u7b$closure$u7d$$u7d$::_$u7b$$u7b$closure$u7d$$u7d$::h19bf5a0a6efaf5b7+96)
01-19 17:39:53.592 20247 20247 F DEBUG : #40 pc 0000000001b75fb8 /data/app/~~gnXD98tDqsALTbriVMYR4Q==/com.DefaultCompany.Test-aqjWXsJ9XNghksrr3H7scQ==/lib/arm64/liblivekit_ffi.so (tokio::runtime::context::scoped::Scoped$LT$T$GT$::set::hc3ea689a60ca2cf8+140)
01-19 17:39:53.592 20247 20247 F DEBUG : #41 pc 0000000001bbbc28 /data/app/~~gnXD98tDqsALTbriVMYR4Q==/com.DefaultCompany.Test-aqjWXsJ9XNghksrr3H7scQ==/lib/arm64/liblivekit_ffi.so (tokio::runtime::context::set_scheduler::_$u7b$$u7b$closure$u7d$$u7d$::haf8799ebb3527ff4+32)
01-19 17:39:53.592 20247 20247 F DEBUG : #42 pc 0000000001bd7024 /data/app/~~gnXD98tDqsALTbriVMYR4Q==/com.DefaultCompany.Test-aqjWXsJ9XNghksrr3H7scQ==/lib/arm64/liblivekit_ffi.so (std::thread::local::LocalKey$LT$T$GT$::try_with::hf8b678840adc06dc+308)
01-19 17:39:53.593 20247 20247 F DEBUG : #43 pc 0000000001bd4cdc /data/app/~~gnXD98tDqsALTbriVMYR4Q==/com.DefaultCompany.Test-aqjWXsJ9XNghksrr3H7scQ==/lib/arm64/liblivekit_ffi.so (std::thread::local::LocalKey$LT$T$GT$::with::h3e0aa759854c23cc+16)
01-19 17:39:53.593 20247 20247 F DEBUG : #44 pc 0000000001bbbbbc /data/app/~~gnXD98tDqsALTbriVMYR4Q==/com.DefaultCompany.Test-aqjWXsJ9XNghksrr3H7scQ==/lib/arm64/liblivekit_ffi.so (tokio::runtime::context::set_scheduler::h94af447cfc8938a2+60)
01-19 17:39:53.593 20247 20247 F DEBUG : #45 pc 0000000001bce384 /data/app/~~gnXD98tDqsALTbriVMYR4Q==/com.DefaultCompany.Test-aqjWXsJ9XNghksrr3H7scQ==/lib/arm64/liblivekit_ffi.so (tokio::runtime::scheduler::multi_thread::worker::run::_$u7b$$u7b$closure$u7d$$u7d$::hf78370f8a4a6e572+268)
01-19 17:39:53.593 20247 20247 F DEBUG : #46 pc 0000000001ba1880 /data/app/~~gnXD98tDqsALTbriVMYR4Q==/com.DefaultCompany.Test-aqjWXsJ9XNghksrr3H7scQ==/lib/arm64/liblivekit_ffi.so (tokio::runtime::context::runtime::enter_runtime::ha216a2fd523c216d+228)
01-19 17:39:53.593 20247 20247 F DEBUG : #47 pc 0000000001bce1bc /data/app/~~gnXD98tDqsALTbriVMYR4Q==/com.DefaultCompany.Test-aqjWXsJ9XNghksrr3H7scQ==/lib/arm64/liblivekit_ffi.so (tokio::runtime::scheduler::multi_thread::worker::run::h81fb8dfc713db6bf+360)
01-19 17:39:53.593 20247 20247 F DEBUG : #48 pc 0000000001bce044 /data/app/~~gnXD98tDqsALTbriVMYR4Q==/com.DefaultCompany.Test-aqjWXsJ9XNghksrr3H7scQ==/lib/arm64/liblivekit_ffi.so (tokio::runtime::scheduler::multi_thread::worker::Launch::launch::_$u7b$$u7b$closure$u7d$$u7d$::hbba6b040eacaaa28+16)
01-19 17:39:53.593 20247 20247 F DEBUG : #49 pc 0000000001bdb2d0 /data/app/~~gnXD98tDqsALTbriVMYR4Q==/com.DefaultCompany.Test-aqjWXsJ9XNghksrr3H7scQ==/lib/arm64/liblivekit_ffi.so (_$LT$tokio..runtime..blocking..task..BlockingTask$LT$T$GT$$u20$as$u20$core..future..future..Future$GT$::poll::ha212ec7581772350+128)
01-19 17:39:53.593 20247 20247 F DEBUG : #50 pc 0000000001b70158 /data/app/~~gnXD98tDqsALTbriVMYR4Q==/com.DefaultCompany.Test-aqjWXsJ9XNghksrr3H7scQ==/lib/arm64/liblivekit_ffi.so (tokio::runtime::task::core::Core$LT$T$C$S$GT$::poll::_$u7b$$u7b$closure$u7d$$u7d$::hb633b3140a58a750+144)
01-19 17:39:53.593 20247 20247 F DEBUG : #51 pc 0000000001b6fcb8 /data/app/~~gnXD98tDqsALTbriVMYR4Q==/com.DefaultCompany.Test-aqjWXsJ9XNghksrr3H7scQ==/lib/arm64/liblivekit_ffi.so (tokio::runtime::task::core::Core$LT$T$C$S$GT$::poll::h81253fc94e84f192+96)
01-19 17:39:53.593 20247 20247 F DEBUG : #52 pc 0000000001b970b4 /data/app/~~gnXD98tDqsALTbriVMYR4Q==/com.DefaultCompany.Test-aqjWXsJ9XNghksrr3H7scQ==/lib/arm64/liblivekit_ffi.so (tokio::runtime::task::harness::poll_future::_$u7b$$u7b$closure$u7d$$u7d$::h899a941ffecbd3b8+44)
01-19 17:39:53.593 20247 20247 F DEBUG : #53 pc 0000000001ba6acc /data/app/~~gnXD98tDqsALTbriVMYR4Q==/com.DefaultCompany.Test-aqjWXsJ9XNghksrr3H7scQ==/lib/arm64/liblivekit_ffi.so (_$LT$core..panic..unwind_safe..AssertUnwindSafe$LT$F$GT$$u20$as$u20$core..ops..function..FnOnce$LT$$LP$$RP$$GT$$GT$::call_once::hd1f3e82528aeb5c2+24)
01-19 17:39:53.593 20247 20247 F DEBUG : #54 pc 0000000001be54dc /data/app/~~gnXD98tDqsALTbriVMYR4Q==/com.DefaultCompany.Test-aqjWXsJ9XNghksrr3H7scQ==/lib/arm64/liblivekit_ffi.so (std::panicking::try::do_call::h1cdab1d90162870b+64)
01-19 17:39:53.593 20247 20247 F DEBUG : #55 pc 0000000001be6dd4 /data/app/~~gnXD98tDqsALTbriVMYR4Q==/com.DefaultCompany.Test-aqjWXsJ9XNghksrr3H7scQ==/lib/arm64/liblivekit_ffi.so (__rust_try+24)
01-19 17:39:53.593 20247 20247 F DEBUG : #56 pc 0000000001be50c0 /data/app/~~gnXD98tDqsALTbriVMYR4Q==/com.DefaultCompany.Test-aqjWXsJ9XNghksrr3H7scQ==/lib/arm64/liblivekit_ffi.so (std::panicking::try::hc46a377b6ddd7849+80)
01-19 17:39:53.593 20247 20247 F DEBUG : #57 pc 0000000001b97fe4 /data/app/~~gnXD98tDqsALTbriVMYR4Q==/com.DefaultCompany.Test-aqjWXsJ9XNghksrr3H7scQ==/lib/arm64/liblivekit_ffi.so (std::panic::catch_unwind::h5da8c3f9eaecbf97+24)
01-19 17:39:53.593 20247 20247 F DEBUG : #58 pc 0000000001b96d44 /data/app/~~gnXD98tDqsALTbriVMYR4Q==/com.DefaultCompany.Test-aqjWXsJ9XNghksrr3H7scQ==/lib/arm64/liblivekit_ffi.so (tokio::runtime::task::harness::poll_future::hbf86e982b2f6cce8+72)
01-19 17:39:53.593 20247 20247 F DEBUG : #59 pc 0000000001b94810 /data/app/~~gnXD98tDqsALTbriVMYR4Q==/com.DefaultCompany.Test-aqjWXsJ9XNghksrr3H7scQ==/lib/arm64/liblivekit_ffi.so (tokio::runtime::task::harness::Harness$LT$T$C$S$GT$::poll_inner::h660cfc2d7dc0f743+144)
01-19 17:39:53.593 20247 20247 F DEBUG : #60 pc 0000000001b94504 /data/app/~~gnXD98tDqsALTbriVMYR4Q==/com.DefaultCompany.Test-aqjWXsJ9XNghksrr3H7scQ==/lib/arm64/liblivekit_ffi.so (tokio::runtime::task::harness::Harness$LT$T$C$S$GT$::poll::h32c0fbf81532f2c1+20)
01-19 17:39:53.593 20247 20247 F DEBUG : #61 pc 0000000001b82268 /data/app/~~gnXD98tDqsALTbriVMYR4Q==/com.DefaultCompany.Test-aqjWXsJ9XNghksrr3H7scQ==/lib/arm64/liblivekit_ffi.so (tokio::runtime::task::raw::poll::h0e4664b9c139c3de+28)
01-19 17:39:53.593 20247 20247 F DEBUG : #62 pc 0000000001b81f30 /data/app/~~gnXD98tDqsALTbriVMYR4Q==/com.DefaultCompany.Test-aqjWXsJ9XNghksrr3H7scQ==/lib/arm64/liblivekit_ffi.so (tokio::runtime::task::raw::RawTask::poll::h8cda193022f22c07+44)
01-19 17:39:53.593 20247 20247 F DEBUG : #63 pc 0000000001bab090 /data/app/~~gnXD98tDqsALTbriVMYR4Q==/com.DefaultCompany.Test-aqjWXsJ9XNghksrr3H7scQ==/lib/arm64/liblivekit_ffi.so (tokio::runtime::task::UnownedTask$LT$S$GT$::run::h9767a156756d8fbc+56)
01-19 17:39:53.593 20247 20247 F DEBUG : #64 pc 0000000001b76a88 /data/app/~~gnXD98tDqsALTbriVMYR4Q==/com.DefaultCompany.Test-aqjWXsJ9XNghksrr3H7scQ==/lib/arm64/liblivekit_ffi.so (tokio::runtime::blocking::pool::Task::run::ha6600eb2c543f9a9+24)
01-19 17:39:53.593 20247 20247 F DEBUG : #65 pc 0000000001b78f08 /data/app/~~gnXD98tDqsALTbriVMYR4Q==/com.DefaultCompany.Test-aqjWXsJ9XNghksrr3H7scQ==/lib/arm64/liblivekit_ffi.so (tokio::runtime::blocking::pool::Inner::run::h651c29705d93ea4a+424)
01-19 17:39:53.593 20247 20247 F DEBUG : #66 pc 0000000001b78cc0 /data/app/~~gnXD98tDqsALTbriVMYR4Q==/com.DefaultCompany.Test-aqjWXsJ9XNghksrr3H7scQ==/lib/arm64/liblivekit_ffi.so (tokio::runtime::blocking::pool::Spawner::spawn_thread::_$u7b$$u7b$closure$u7d$$u7d$::h7d8e03591bf42e54+136)
01-19 17:39:53.593 20247 20247 F DEBUG : #67 pc 0000000001b93c14 /data/app/~~gnXD98tDqsALTbriVMYR4Q==/com.DefaultCompany.Test-aqjWXsJ9XNghksrr3H7scQ==/lib/arm64/liblivekit_ffi.so (std::sys_common::backtrace::__rust_begin_short_backtrace::hff1987da1398c418+8)
01-19 17:39:53.593 20247 20247 F DEBUG : #68 pc 0000000001b98f6c /data/app/~~gnXD98tDqsALTbriVMYR4Q==/com.DefaultCompany.Test-aqjWXsJ9XNghksrr3H7scQ==/lib/arm64/liblivekit_ffi.so (std::thread::Builder::spawn_unchecked_::_$u7b$$u7b$closure$u7d$$u7d$::_$u7b$$u7b$closure$u7d$$u7d$::hf16fa6e0feaef42b+32)
01-19 17:39:53.593 20247 20247 F DEBUG : #69 pc 0000000001ba6840 /data/app/~~gnXD98tDqsALTbriVMYR4Q==/com.DefaultCompany.Test-aqjWXsJ9XNghksrr3H7scQ==/lib/arm64/liblivekit_ffi.so (_$LT$core..panic..unwind_safe..AssertUnwindSafe$LT$F$GT$$u20$as$u20$core..ops..function..FnOnce$LT$$LP$$RP$$GT$$GT$::call_once::h32ba7b3e99b6e407+32)
01-19 17:39:53.593 20247 20247 F DEBUG : #70 pc 0000000001be5790 /data/app/~~gnXD98tDqsALTbriVMYR4Q==/com.DefaultCompany.Test-aqjWXsJ9XNghksrr3H7scQ==/lib/arm64/liblivekit_ffi.so (std::panicking::try::do_call::h645e1a278415bb7d+64)
01-19 17:39:53.593 20247 20247 F DEBUG : #71 pc 0000000001be6dd4 /data/app/~~gnXD98tDqsALTbriVMYR4Q==/com.DefaultCompany.Test-aqjWXsJ9XNghksrr3H7scQ==/lib/arm64/liblivekit_ffi.so (__rust_try+24)
01-19 17:39:53.593 20247 20247 F DEBUG : #72 pc 0000000001be49b4 /data/app/~~gnXD98tDqsALTbriVMYR4Q==/com.DefaultCompany.Test-aqjWXsJ9XNghksrr3H7scQ==/lib/arm64/liblivekit_ffi.so (std::panicking::try::h6ce0f73ef1aa09e7+68)
01-19 17:39:53.593 20247 20247 F DEBUG : #73 pc 0000000001b98de8 /data/app/~~gnXD98tDqsALTbriVMYR4Q==/com.DefaultCompany.Test-aqjWXsJ9XNghksrr3H7scQ==/lib/arm64/liblivekit_ffi.so (std::thread::Builder::spawn_unchecked_::_$u7b$$u7b$closure$u7d$$u7d$::h065b5b893d9c79a7+392)
01-19 17:39:53.593 20247 20247 F DEBUG : #74 pc 0000000001b9903c /data/app/~~gnXD98tDqsALTbriVMYR4Q==/com.DefaultCompany.Test-aqjWXsJ9XNghksrr3H7scQ==/lib/arm64/liblivekit_ffi.so (core::ops::function::FnOnce::call_once$u7b$$u7b$vtable.shim$u7d$$u7d$::h0b8c489fb6084d22+16)
01-19 17:39:53.593 20247 20247 F DEBUG : #75 pc 0000000001d476e8 /data/app/~~gnXD98tDqsALTbriVMYR4Q==/com.DefaultCompany.Test-aqjWXsJ9XNghksrr3H7scQ==/lib/arm64/liblivekit_ffi.so (std::sys::unix::thread::Thread::new::thread_start::h55e87d06cdc1bad4+24)
01-19 17:39:53.593 20247 20247 F DEBUG : #76 pc 00000000000eae70 /apex/com.android.runtime/lib64/bionic/libc.so (__pthread_start(void*)+204) (BuildId: 4cbc2a7636b3e0b018386ca8427ddf9b)
01-19 17:39:53.593 20247 20247 F DEBUG : #77 pc 000000000008a82c /apex/com.android.runtime/lib64/bionic/libc.so (__start_thread+64) (BuildId: 4cbc2a7636b3e0b018386ca8427ddf9b
Hello, I am trying to create an android build. I imported livekit_ffi amd64 android build into my project and built it. However the app crashes as soon as it is started. Below is the strack trace. Can you help me create build that works on android?