diff --git a/jnius/__init__.py b/jnius/__init__.py index 5f7b7a68..4f2b5f8f 100644 --- a/jnius/__init__.py +++ b/jnius/__init__.py @@ -39,6 +39,7 @@ def equals(self, other): # from https://gist.github.com/tito/09c42fb4767721dc323d +import os if "ANDROID_ARGUMENT" in os.environ: # on android, catch all exception to ensure about a jnius.detach import threading