How can I package the whole python interpreter in an Android APK?

為{幸葍}努か 提交于 2019-12-03 13:12:30
piertoni

Try looking at kivy.org.

It's a python on android based Multitouch GUI,inside the documentation is explained how to create a package with all inside to publish on Android shop.

I also remember that there was a chapter on the book Pro Android Python with SL4A explaining how to pack all and publish.

Hope this helps

There's the android-python27 project, which actually works with interpreters other than Python 2.7, despite the name. If you want to bundle a Python application with an interpreter in a single APK, that's about the only option. You can use different interpreters and add your own Python libraries and that kind of thing.

It's pretty painful to use to be honest ~ the 'user-friendly' approach requires Eclipse ~ but, if you're ready to package your app, it does the job.

It's available under Apache License 2.0.

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!