1diff --git b/src/lib.rs a/src/lib.rs 2index 1fe9b1a..6bf3d1b 100644 3--- b/src/lib.rs 4+++ a/src/lib.rs 5@@ -16,6 +16,10 @@ 6 #![no_std] 7 #![deny(clippy::undocumented_unsafe_blocks)] 8 9+/// Local Android change: Use std to allow building as a dylib. 10+#[cfg(android_dylib)] 11+extern crate std; 12+ 13 extern crate alloc; 14 use alloc::{vec, vec::Vec}; 15 16