Questions tagged [buildozer]

Buildozer is a tool for creating application packages easily.

Buildozer is a tool that automates the creation of mobile applications.

It supports packaging for:

  • Android - Compilation done on only Linux or OSX
  • iOS - Compilation done on only OSX

It automates the use of:

  • python-for-android
  • kivy-for-ios
1108 questions
6
votes
2 answers

Command failed: tar xzf android-sdk_r20-linux.tgz

I was trying to build kivy app to android and got this error # Check configuration tokens # Ensure build layout # Check configuration tokens # Preparing build # Check requirements for android # Install platform # Apache ANT found at…
Ali Faki
  • 3,928
  • 3
  • 17
  • 25
5
votes
2 answers

How to build an .aab using Buildozer via Docker?

I have just seen that support for AAB files have just been introduced in Python for Android (p4a). Considering that, fom August 2021, new apps are required to publish with the Android App Bundle on Google Play, this is a crucial addition for any…
Vito Gentile
  • 13,336
  • 9
  • 61
  • 96
5
votes
2 answers

kivymd app crashes on android phone ModuleNotFoundError: No module named 'PIL'

My Kivy app crashes on launch on android phone. buildozer logcat shows the following error: 02-21 17:09:58.777 14941 14979 I python : ModuleNotFoundError: No module named 'PIL' 02-21 17:09:58.777 14941 14979 I python : Python for android…
Oleksandr K
  • 119
  • 1
  • 10
5
votes
3 answers

Sdkmanager not installed

I want to compile .py to .apk on Windows 10. I installed ubuntu and buildozer and this error appers when I want to compile file. sdkmanager path "/home/lukasmatrix/.buildozer/android/platform/android-sdk/tools/bin/sdkmanager" does not exist,…
SenseiB
  • 71
  • 1
  • 10
5
votes
2 answers

Kivy Buildozer: .so lib files missing debug symbols

.so lib files missing debug symbols So I tried getting my bin/debug.apk to work in the Buildozer VM, but there was a problem with loading adb and attaching my Android device via USB, so I exported my bin/debug.apk to my desktop to debug it in…
Joshua Harwood
  • 337
  • 1
  • 2
  • 15
5
votes
3 answers

Using python3 on android with buildozer

I have written a little program in python 3 and kivy. Now I want to build an .apk using buildozer and test the app on my android phone. Everything worked and I was able to install the app on the phone but the app crashed on startup. The error log…
magenulcus
  • 400
  • 4
  • 10
5
votes
3 answers

creating apk using Kivy showing some error

When after I give the command: buildozer android debug deploy run I am getting the following error. Its showing syntax error ? # Install distribute # Run 'curl http://python-distribute.org/distribute_setup.py | venv/bin/python' # Cwd…
user
  • 87
  • 8
4
votes
1 answer

Microphone Permission of Flask app in python-for-android and buildozer

I'm converting a flaskapp combined with SpeechRecognition Javascript into an apk (I get the html here) . And i tried to add the Microphone permission by adding: Python: from android.permissions import Permission, request_permissions…
Dile
  • 516
  • 3
  • 13
4
votes
1 answer

Plyer notification not working on android

I'm trying to code a simple application that receive a message and display a notification, everything works fine except the notification. Moreover if I run the application on Windows it works showing the notification correctly I run the app on…
Coderz
  • 41
  • 1
4
votes
2 answers

How to debug a Kivy/Kivymd app for android?

So I have spent some time developing a recipe app: Github I can use with my Raspberry Pi, which works great and I don't mind using a launcher for the raw code there. However I wanted to be able to package the Kivy application as an apk using the…
Craig
  • 41
  • 1
  • 2
4
votes
0 answers

Kivy buildozer 64 bit apk not being accepted by google play store

Google Play Store was not accepting my 32 bit apk. So I followed the instruction from this link https://github.com/kivy/python-for-android/issues/1519 to change the android.arch to arm64-v8a in the buildozer spec file. I did exactly that. Here are…
4
votes
1 answer

How to troubleshoot "Could not find platform independent libraries " in Python & buildozer

Through buildozer in Ubuntu, I was running an app I am developing. However, I faced the following error: Could not find platform independent libraries Consider setting $PYTHONHOME to [:] Fatal Python error:…
john kim
  • 49
  • 1
  • 2
4
votes
0 answers

Cryptic error when I try to initialize android Visualizer via Buildozer

I have some existing code on Python and want to port it to android using Kivy and Buildozer. However I have a dependency on native android class 'Visualizer'. My application starts up correctly, but when I click on 'Run' button in my application…
JaktensTid
  • 272
  • 2
  • 5
  • 20
4
votes
1 answer

Using pygame on buildozer to build apk does not work

I am trying to build an apk using buildozer using pygame. Although buildozer is mainly used for kivy apps but think it should work using pygame also. But my apk created does not run on phone. So are there some dependencies required to use pygame? Or…
Bully Maguire
  • 211
  • 3
  • 15
4
votes
2 answers

Kivy Buildozer VM sh.ErrorReturnCode_127 error

I am trying to build a simple Python program to an APK with Buildozer on the Kivy Virtual Machine. Every time I run buildozer android debug, I get the following error pid 2134: Traceback (most recent call last): File…
SomeMosa
  • 413
  • 5
  • 28
1
2
3
73 74