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
18
votes
1 answer

Kivy/Buildozer Import Error - pymssql.so is 64-bit instead of 32-bit

I'm using the 64-bit Kivy/Buildozer VM to build and deploy a Kivy app to Android Lollipop (armeabi-v7a 32-bit arch). The Buildozer build is successful but on execution of the app and import of the pymssql package (used to connect to a remote MS SQL…
darthpaul
  • 211
  • 1
  • 5
12
votes
1 answer

Errors packaging app for android using ubuntu and buildozer

PREREQUISITES I'm trying to figure out how to package python apps using buildozer. After wasting many hours attempting to do so I've reached a point where I've got stuck, here's a little summary of the steps I've followed: Downloaded ubuntu16.04…
BPL
  • 9,632
  • 9
  • 59
  • 117
11
votes
3 answers

How to fix 'java.lang.module.FindException: module java.se.ee not found' error when packaging my kivy application with buildozer

I'm trying package my kivy app (python3) but when i run the command buildozer -v android debug see this error # Cwd /home/javier/.buildozer/android/platform/android-sdk Error occurred during initialization of boot…
Javier Valero
  • 113
  • 1
  • 2
  • 7
11
votes
0 answers

Use OpenCV, cv2.videocapture in Kivy with Android - Python For Android

I have been working for a few days, trying to use cv2.VideoCapture() in python-for-android. I'm using Kivy with buildozer to build apk for Android. Here is my code from kivy.app import App from kivy.uix.image import Image from kivy.clock…
Vajira Prabuddhaka
  • 852
  • 4
  • 13
  • 34
10
votes
3 answers

Kivy Apk build with buildozer error: # Java compiler (javac) not found, please install it

I'm trying to build an apk of my kivy project. I have installed buildozer in python 2.7 Using PyCharm, then I built the .spec, but when I tried to create the apk, I got these results: i have insatalled jdk7 and 8 Using: buildozer Android…
Vilma De battista
  • 113
  • 1
  • 1
  • 7
8
votes
3 answers

Cython not found..Please install it error in buildozer

I am trying to create an apk file from bulldozer in Linux, but every time I receive this error that cython is not found. Although I tried installing it, I found the whole internet but didn't get the answer.Please help me. I am a beginner The…
Hirdeyjeet
  • 83
  • 1
  • 1
  • 4
8
votes
1 answer

kivy camera application with opencv in android shows black screen

I'm trying to build an camera Android app based on OpenCv in Kivy: main.py import kivy from kivy.app import App from kivy.uix.label import Label from kivy.uix.camera import Camera import cv2 from kivy.uix.image import Image from kivy.clock import…
Aswin
  • 81
  • 1
  • 2
8
votes
2 answers

Buildozer Unknown command/target android_old

im very noob still in python and kivy. Anyways, I'm making a simple android app, which just showing a single label. Now I'm trying to package that python file to an apk via buildozer. The buildozer init works, but then the buildozer -v android…
John Nicolas
  • 81
  • 1
  • 1
  • 3
8
votes
0 answers

Play Video Using OpenCV library with kivy and python-for-android on android

Try to play video using OpenCV library with kivy and python-for-android Here is my attempt: import os import cv2 from kivy.app import App from kivy.clock import Clock from kivy.graphics.texture import Texture from kivy.uix.boxlayout import…
Kallz
  • 3,244
  • 1
  • 20
  • 38
7
votes
1 answer

Android SDK Tools: OpenCV requires Android SDK Tools revision 14 or newer

I'm trying to create a simple photo capture app using kivy, opencv. When I tried to create an .apk file using buildozer, and put opencv in requirements at .spec file then I faced this error -- Android: fixup -g compiler option from Android…
7
votes
2 answers

Android kivy where to put application files (ini, images db etc)

I've created a prototype application for Android using kivy. It has compiled in buildozer and I've uploaded in to an Android device. But I'm nor sure where to put app dependent files like the ini file, images database etc. Any help greatly…
Psionman
  • 3,084
  • 1
  • 32
  • 65
6
votes
0 answers

Foreground service in Android using kivy

I'm trying to execute a Foreground Service in Android using kivy. I have created a service following different examples in internet, but all of them are killed by Android after some minutes after going to sleep (Doze mode) or even when I change to…
Miguel
  • 61
  • 3
6
votes
3 answers

Kivy sounds do not play on android device even though they play fine on laptop

I am trying to play a sound using Kivy. The sound plays perfectly and everything works perfectly on my laptop, but when I load the APK on my Android device, the sound does not play. I have manually allowed "storage permissions" on my android device,…
6
votes
1 answer

Buildozer error while compiling apk - pip ssl

I am trying to compile a simple program into an apk for Android with Buildozer but have run into the following problem. Can you please help? I tried upgrading pip but that didn't help:python3 -m pip install --upgrade pip So, I reverted back to the…
Shoumik Das
  • 441
  • 5
  • 16
6
votes
1 answer

Make sure the path to the Android SDK is correct

koushik@koushik-HP-Notebook:~$ p4a apk [WARNING]: $ANDROIDNDKVER is deprecated and no longer necessary, the value you set is ignored [INFO]: Will compile for the following archs: armeabi-v7a [INFO]: Found Android API target in…
1
2 3
73 74