--- | |
src/lib.rs | 4 ++++ | |
1 file changed, 4 insertions(+) | |
diff --git b/src/lib.rs a/src/lib.rs | |
index 5bdef085..9e360f4d 100644 | |
--- b/src/lib.rs | |
+++ a/src/lib.rs | |
@@ -17,6 +17,10 @@ | |
unused_qualifications | |
)] | |
+/// Local Android change: Use std to allow building as a dylib. | |
+#[cfg(android_dylib)] | |
+extern crate std; | |
+ | |
#[cfg(feature = "std")] | |
extern crate std; | |