-
Notifications
You must be signed in to change notification settings - Fork 34
Open
Description
Running the storage-example
with dx serve --platform android
results in a broken app (launch fails on .expect("Android to have set the app trampoline")
).
But using set_dir!()
after app launch is not possible.
thread '<unnamed>' panicked at /home/jmbarbier/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/dioxus-mobile-0.6.2/src/lib.rs:83:10:
Android to have set the app trampoline
stack backtrace:
0: __rustc::rust_begin_unwind
at ./rustc/17067e9ac6d7ecb70e50f92c1944e545188d2359/library/std/src/panicking.rs:697:5
1: core::panicking::panic_fmt
at ./rustc/17067e9ac6d7ecb70e50f92c1944e545188d2359/library/core/src/panicking.rs:75:14
2: core::panicking::panic_display
at ./rustc/17067e9ac6d7ecb70e50f92c1944e545188d2359/library/core/src/panicking.rs:261:5
3: core::option::expect_failed
at ./rustc/17067e9ac6d7ecb70e50f92c1944e545188d2359/library/core/src/option.rs:2024:5
4: core::option::Option<T>::expect
at ./home/jmbarbier/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/core/src/option.rs:933:21
5: dioxus_mobile::root
at ./home/jmbarbier/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/dioxus-mobile-0.6.2/src/lib.rs:79:15
6: tao::platform_impl::platform::ndk_glue::create::{{closure}}
at ./home/jmbarbier/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/tao-0.30.8/src/platform_impl/android/ndk_glue.rs:273:5
note: Some details are omitted, run with `RUST_BACKTRACE=full` for a verbose backtrace.
s_glBindAttribLocation: bind attrib 0 name position
s_glBindAttribLocation: bind attrib 1 name color
Metadata
Metadata
Assignees
Labels
No labels