
---
 src/lib.rs | 4 ++++
 1 file changed, 4 insertions(+)

diff --git b/src/lib.rs a/src/lib.rs
index 2800d9a7..ccd8454a 100644
--- b/src/lib.rs
+++ a/src/lib.rs
@@ -20,6 +20,10 @@
 #![doc(html_favicon_url = "https://developer.actyx.com/img/favicon.ico")]
 #![no_std]
 
+// ANDROID: Use std to allow building as a dylib.
+#[cfg(android_dylib)]
+extern crate std;
+
 use core::{
     fmt::{self, Debug, Formatter},
     pin::Pin,
