1
2---
3 src/lib.rs | 4 ++++
4 1 file changed, 4 insertions(+)
5
6diff --git b/src/lib.rs a/src/lib.rs
7index 2800d9a7..ccd8454a 100644
8--- b/src/lib.rs
9+++ a/src/lib.rs
10@@ -20,6 +20,10 @@
11 #![doc(html_favicon_url = "https://developer.actyx.com/img/favicon.ico")]
12 #![no_std]
13
14+// ANDROID: Use std to allow building as a dylib.
15+#[cfg(android_dylib)]
16+extern crate std;
17+
18 use core::{
19     fmt::{self, Debug, Formatter},
20     pin::Pin,
21