Running Python/Pyjnius in Docker container on Android #19
Unanswered
bobmorane83
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi all,
I'am trying to run python script on Android but in Docker container.
So far, I've Docker running OK on my Android 12 board (aarch64).
Running python is ok in container, but I want to access Android framework now.
I've created a container based on openjdk:11, adding Python 3.9, recompiling pyjnius and having this simple code in it:
Env variables are :
When I run the container I get the error :
Sound normal to me as internal JVM has nothing to do with Android.
So I changed JAVA_HOME with Dalvikvm (adding -v /bin:/bin to the docker command)
But I got the same error.
Last, I tested with :
But I got :
I guess that libc (used by Python/pyjnius) is not able to load Bionic linked ELF files.
BTW, I'am totally new to kivy/pyjnius and how this all works. I even don't know if it's possible to do that or not !
Any clues/help would be great !
Thx,
V.
Beta Was this translation helpful? Give feedback.
All reactions