In this recipe, we will be learning to package a Python script into the Android APK file using Buildozer. Buildozer is a tool that packages mobile applications quite easily. Basically, it auto-creates a buildozer.spec file, which stores configuration and other settings of the application including its name, package, domain name, icon, and so on. It also automatically downloads the prerequisites, such as python-for-android, the Android SDK, NDK, and so on, and presents the Android APK file ready to distribute and install. Not only for Android; Buildozer makes the Python script run on iOS too. The focus of this recipe is to create a package for Android. First of all, we will be creating a Kivy Python script that consists of a button and a label. When the button is clicked, the application simply displays the message...




















































