Kivy-Open Source Python library for rapid development
Applications that use innovative user interfaces, such as multi-touch applications
1 python pip install docutils pygments pypiwin32 kivy.deps.sdl2 kivy.deps.glew2 python pip ins Tall Kivy.deps.gstreamer
-Kivy
-kivy_examples
Test:
python share\kivy-examples\demo\showcase\main. PY (where the share file is in the Python file root directory)
The next question is how to package the program into APK:
Because I was previously installing a VM, importing Kivy officially produced an image of that virtual machine when the import failed because E:\Python\kivydev64v1.0.ova did not pass the OVF specification conformance or virtual hardware compliance checks.
Solution:
After you download the Ovftool 4.1 installation, the files under the installation directory will be overwritten in the Ovftools directory under the VMware Workstation installation directory.
You're ready to see this.
1. Go to/home/kivydev//test is the test directory, the directory of py2apk is PY27 packaging, py3apk is py35 packaging, these two versions of the difference is only different version of the py configuration file, in this directory of the py file, You must use the main.py name to package , and then compile the main.py in that directory to see if it can be executed successfully: Python3 main.py
2. After a successful compilation, the following package commands are executed in the directory py2apk or py3apk:
p4a apk
You can generate the APK file in this directory;
Kivy install, and pack apk on Ubuntu