Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Kivy to Apk in Windows

I'm using windows right now and I want to ask is there any good tools to package a kivy app for android in windows or do I have to use Linux distributions?

And also is there anyway to use kivy for python 3.3.2 (Latest)?

like image 336
hamidfzm Avatar asked Nov 01 '13 21:11

hamidfzm


People also ask

How do I convert kivy app to exe?

py file inside folder then open command prompt using control shift and right click then type "pyinstaller --onefile -w then Your your python script name and click enter. it will take time to generate file for you then in same directory folder called Dist go to and you will see you converted file into exe.

Can I use Buildozer in Windows?

It downloads and sets up all the prerequisites for python-for-android, including the android SDK and NDK, then builds an apk that can be automatically pushed to the device. Buildozer currently works only in Linux and macOS (You can still use it on Windows via WSL), and can significantly simplify the apk build.

Can I use kivy for desktop applications?

Kivy is a platform independent as it can be run on Android, IOS, linux and Windows etc. Kivy provides you the functionality to write the code for once and run it on different platforms. It is basically used to develop the Android application, but it Does not mean that it can not be used on Desktops applications.


1 Answers

I'm using windows right now and I want to ask is there any good tools to package a kivy app for android in windows or I have t use Linux distributions?

Unfortunately the build tools don't work on windows right now. I think there are technical barriers to do with cross compilation.

Have you seen the kivy virtual machine, available at http://kivy.org/#download ? This is an Ubuntu linux image that already has the tools installed and set up. You should be able to run it in virtualbox on any recentish machine.

There's also an online interface to the android component of the buildozer tool (which can manage the entire android or ios build process, but I think doesn't work on windows at the moment), available at http://android.kivy.org/ . You can upload your project there to have the apk built. I haven't tried this service, but it should work.

And also is there anyway to use kivy for python 3.3.2?

The next release of kivy will support python 3, and the github master branch at https://github.com/kivy/kivy should be mostly (if not all) working.

like image 177
inclement Avatar answered Sep 22 '22 18:09

inclement