How to create a project in kivy running on android?

I am trying to understand kivy . After installation, starting kivy, I received a message that I must first create a project in /mny/sdcard/kivy . The folder does not exist, so I created it through an FTP connection. Then I put the main.py file in a subfolder. starting kiwi again (after forced closure) gives the same result. What am I missing?

+4
source share
1 answer

Be careful. You are using one of the possible ways to run Kivy-based software using the Kivy launcher . This launcher requires installing your application ( main.py ) and a description file ( android.txt ) in the kivy/yourapp on your SD card.

So, in /mnt/sdcard OR /sdcard make sure you have the kivy directory + the directory for your application + main.py + android.txt .

If you want to create a standalone APK, you need to use the python for-android project.

+8
source

Source: https://habr.com/ru/post/1436169/


All Articles