You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi, I am creating this ticket as there is mention the documentation about the crate working on Linux-based hardware here.
We're using this crate for state management in our project irdest, this crate works fine for platforms other than android. The area of interest in the project is an android application that is built on top of the rust library(whose source code is already present in the repository itself). To develop the application with lib support, we add the lib to its support path and then after some android stuff, it loads the library to the application.
But the problem occurs while creating a new directory for cross platform state-management, despite us being providing write access to the application in the device memory, it fails to create a new one(that is implicitly called by the rust lib, which makes use of this crate) and results in crashing the application, providing this error:
2021-06-1320:35:58.11928892-28892/? I/rust: irdestcore::api::base: Routerinit...done2021-06-1320:35:58.11928892-28892/? E/panic: ### Rust`panic!`hitatfile'utils/android-support/src/api/base.rs',line68: `panicked at 'called `Result::unwrap()` on an `Err` value: IoFault', utils/android-support/src/api/base.rs:68:73`2021-06-1320:35:58.12128892-28892/? A/libc: Fatalsignal6(SIGABRT),code-1(SI_QUEUE)intid28892(net.qaul.app),pid28892(net.qaul.app)
What we are actually calling from the base.rs at the given: let irdest = Irdest::new(router, Directories::new("qaul").unwrap());
where qaul is the name of the application.
So is there some/any known fix/support/workaround for the native android applications?
-Thanks
The text was updated successfully, but these errors were encountered:
Hi, I am creating this ticket as there is mention the documentation about the crate working on Linux-based hardware here.
We're using this crate for state management in our project irdest, this crate works fine for platforms other than android. The area of interest in the project is an android application that is built on top of the rust library(whose source code is already present in the repository itself). To develop the application with lib support, we add the lib to its support path and then after some android stuff, it loads the library to the application.
But the problem occurs while creating a new directory for cross platform state-management, despite us being providing write access to the application in the device memory, it fails to create a new one(that is implicitly called by the rust lib, which makes use of this crate) and results in crashing the application, providing this error:
What we are actually calling from the base.rs at the given:
let irdest = Irdest::new(router, Directories::new("qaul").unwrap());
where
qaul
is the name of the application.So is there some/any known fix/support/workaround for the native android applications?
-Thanks
The text was updated successfully, but these errors were encountered: