Questions tagged [buildozer]

0

votes
0

answer
7

Views

buildozer - kivy+gspread+oauth2client app crashes on start

After installing modules, I followed instructions to build an apk file. My app uses gspread and oauth2client. Put all the requirements in the buildozer.spec file. I run buildozer android debug deploy run logcat then the application crash after loading screen. The first thing I think the problem is...
DrCreampuff
1

votes
1

answer
663

Views

“ImportError: Cannot import name spawnu” while building apk using kivy

I was building a simple android app using kivy using the below code: from kivy.app import App from kivy.uix.label import Label from kivy.uix.scatter import Scatter from kivy.uix.floatlayout import FloatLayout class TutorialApp(App): def build(self): f = FloatLayout() s = Scatter() l = Label(text="He...
h8pathak
1

votes
2

answer
3.3k

Views

I Can't build buildozer for android

I'm trying to create an APK using Kivy and Buildozer. I'm doing the same as in the tutorial at http://kivy.org/docs/guide/packaging-android.html but i have errors, and i don't understand how to fix them. Please help. This is my error log: BUILD FAILED /home/oleg/.buildozer/android/platform/android-s...
Oleg Klimenko
1

votes
1

answer
178

Views

Facing Issues While Uploading App on Google play Made via Buildozer

I have made an app using command buildozer android debug deploy run and then i goto my new account of gmail and simply went to devloper console and tried to upload this new apk but it says me Upload failed You uploaded a debuggable APK. For security reasons you need to disable debugging before it c...
Nisarg
2

votes
1

answer
148

Views

Boto3 Client Session Failing in Kivy App

I'm working on a Kivy app which needs to upload a file to S3 using boto3 but fails in the JSON decoder.py when trying to load the endpoint model and establish a client connection. This works fine locally running on 16.04 but fails after compiling with buildozer and running on Lollipop 5.1.1. Buildo...
darthpaul
2

votes
1

answer
226

Views

buildozer -v android debug : Compile fails at fcntlmodule.c

I'm using Fedora-18 and while running the command "buildozer -v android debug" It hits the following error. How to resolve this ? thanks for any help. gcc -pthread -fno-strict-aliasing -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -I. -IInclude -I./Include -DPy_BUILD_CORE -c ./Modules/selectmodu...
webminal.org
2

votes
0

answer
2.6k

Views

ImportError: No module named Cython.Distutils (But there is)

I have Cython 0.20 installed, and can do 'from Cython.Distutils import build_ext' from a python interpreter, so I don't understand the below error, when I am trying to build an apk with buildozer. My log_level in buildozer.spec is set to 2 already. It appears to be trying to install jnius into a vir...
Totem
5

votes
3

answer
5.3k

Views

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 revealed, that the python enviroment of the apk was p...
magenulcus
2

votes
1

answer
357

Views

Error while building with Buildozer

I am fairly new to Kivy and Android app development. I did a basic hello world app with Kivy and was trying to make an APK from it with Buildozer. These were the errors that I see: -compile: [javac] Compiling 11 source files to /home/ratul/Devel/Python/Kivy/test/.buildozer/android/platform/python-fo...
Ratul
2

votes
2

answer
3.2k

Views

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 debug #Check configuration tokens # Ensure build layout # Chec...
Vilma De battista
2

votes
1

answer
496

Views

buildozer setup hangs at “compile platform” segment

I ran buildozer android debug deploy run and then it is just hanging on # Compile Platform # Check configuration tokens # Ensure build layout # Check configuration tokens # Preparing build # Check requirements for android # Install platform # Apache ANT found at /home/user/.buildozer/android/platfor...
Quba
4

votes
1

answer
707

Views

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 appreciated
Psionman
3

votes
2

answer
554

Views

Issue with Kivy and Buildozer

I am currently using python 2.7.9. I've tried reinstalling cython and updating all the dependencies but it didn't work. I don't know what the problem is with Buildozer or Cython. The app is running properly directly from terminal. #error Do not use this file, it is the result of a failed Cython comp...
user5309166
1

votes
1

answer
424

Views

Running Buildozer from Bash on Ubuntu on Windows

I've made the decision to enter the world of mobile app development. I've gotten pretty familiar with Kivy in order to do this. I'm running into wall after wall trying to deploy anything I make. First off, I am absolutely unable to create a working VM on my machine at home. I attempted to Enable vir...
Inagnikai
3

votes
0

answer
651

Views

use opencv, cv2.videocapture in kivy with android - python for android

I have been working for few days, for 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 import Clock from kivy.graphics.texture import Texture impor...
Vajira Prabuddhaka
3

votes
1

answer
513

Views

Buildozer (kivy app): Requirements (SSL, cryptography): unknown url type

I need your help. Thank you in advance. I have built a kivy app which works on my pc and also worked on my android device before. My python app needs an SSL connection and the lib 'requests', so I added in the .spec-file some requirements (which are needed for python2 as I read in other forum entr...
wsdt
3

votes
1

answer
1.1k

Views

Buildozer Numpy RuntimeError: Broken toolchain: cannot link a simple C program

Writing my first Android app in Python and using Buildozer to package it. Because I will need to use numpy later on in the project, I tried packaging the following test code: import numpy import kivy kivy.require('1.0.6') from kivy.app import App from kivy.uix.button import Button class TestApp(App)...
Sachit Gali
2

votes
0

answer
123

Views

Kivy - Background App doesn't work properly after screen gets turned off

I created an app for android devices to read sensor data (accelerometer, compass and gyroscope) as fast as possible. However, it works already as a background app such that it I can get out of the app and it still reads the sensors. When the screen turns off (either by time or manually) the app stop...
Martin Musiol
2

votes
1

answer
112

Views

Trying to build an Kivy OSX package .app with buildozer but getting errors

Followed the instructions for buildozer on the kivy doc site: https://kivy.org/docs/guide/packaging-osx.html#using-buildozer. I've tried with both Python 3 and 2 and still getting the same errors... Any help? Error here: Traceback (most recent call last): File "package_app.py", line 234, in ma...
kko
2

votes
1

answer
189

Views

Import Error on Kivy (Android)

I'm building a Kivy application for Android. When it is run on my Linux machine from terminal it works as expected. When it is built and deployed to Android it fails with the following error: I/python (14091): Traceback (most recent call last): I/python (14091): File "{project path}/src/app/.b...
FluxIX
2

votes
0

answer
544

Views

Buildozer doing unnecessary downloads

This problem occurs every time I execute: buildozer android debug deploy run to test my app on an android device. Each and every time, buildozer re-downloads Android SDK Build-tools, revision 22.0.1 I assume that this is completely unnecessary and would really like to stop it from happening, as it w...
Totem
2

votes
1

answer
848

Views

python-kivy buildozer app works in pc but not in android

I'm newbie in coding with python/kivy. I have a problem building an android app via kivy buildozer. First of all, if I build the app and I use kivy like this for example: self.asdbut = Button(text="xxxxxx", font_size="70sp") self.asdbut.bind(on_press=self.aaaaa) self.add_widget(self.asdbut) It works...
Nikos Emmanouil
8

votes
0

answer
213

Views

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 server) I get the following error: I/python ( 5335...
darthpaul
5

votes
1

answer
1.5k

Views

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 BoxLayout from kivy.uix.button import Button from kivy.uix....
Kallz
2

votes
1

answer
706

Views

kivy buildozer cant compile application targeting python3

I'm trying to build my kivy application against python3. First I downloaded the crystax ndk, and set the ANDROIDNDK to it's location. I added python3crystax to my requirements in the buildozer.spec and launched the build with: buildozer android debug deploy run logcat This command results in the fol...
Ced
2

votes
1

answer
348

Views

Making android application in python using buildozer and kivy

I am trying to build apk by using buildozer. But when I run buildozer -v android debug Command to build apk I got following error [INFO]: Building python2 for armeabi-v7a [INFO]: Copying hostpython binary to targetpython folder [INFO]: -> running cp /home/kallz/Project/AndroidLib/examples/...
Kallz
2

votes
0

answer
141

Views

Buildozer/Kivy: TextInput crashes on numeric input in Android

Noticed the following issue with a Kivy app on Android. The example code is taken from the Kivy Basic documentation: from kivy.app import App from kivy.uix.gridlayout import GridLayout from kivy.uix.label import Label from kivy.uix.textinput import TextInput class LoginScreen(GridLayout): def __init...
ScissorHill
2

votes
1

answer
797

Views

Unable to get Buildozer to work in ubuntu - “fatal error: arm-linux-gnueabi/python2.7/pyconfig.h: No such file or directory”

I am trying to build a very basic Hello World Android application using kivy. Source code: import kivy kivy.require('1.8.0') # update with your current version from kivy.app import App from kivy.uix.button import Button class DummyApp(App): def build(self): return Button(text="Hello World") if __na...
Abhishek Kedia
2

votes
1

answer
180

Views

Can't build unassigned release APK with buildozer android_new realease

I can't build unassigned release APK with buildozer android_new release. I have searched the web for a solution but I can't just find one. I came across this https://github.com/kivy/buildozer/issues/363, but no success. However, I can build the DEBUG APK with buildozer android_new debug. What am I d...
Mike.I
2

votes
2

answer
331

Views

SSL in Kivy for android development

I was developing a mobile app that can send mqtt messages to AWS Iot. It needs paho-mqtt library. It can be included in buildozer.spec requirements. My problem is in the SSL part, because I need to import SSL in the code which seems to have a problem with the python version running in python-for-and...
mokh mokh
2

votes
0

answer
144

Views

Packaging Kivy App with Buildozer for OSX not working

I've tried packaging a Kivy app for OSX using buildozer following the instructions here; https://kivy.org/docs/guide/packaging-osx.html There are a few issues. Firstly, it looks for the Kivy.app locally, and then downloads it if it cant find it. Regardless if I have Kivy.app in /Applications or t...
Matt Bryson
2

votes
1

answer
87

Views

Is there a way to stop buildozer from cloning python-for-android?

Everytime I make an app, buildozer always tries to clone python-for-android from github. Is it really necessary to clone everytime I make my app? And is there another way aside from cloning python-for-android everytime I make my app? see image I don't have much internet connection and I'm just mak...
6

votes
2

answer
543

Views

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 /home/ali/.buildozer/android/platform/apache-ant-1.9.4 # Android SD...
Ali Faki
2

votes
0

answer
463

Views

Kivy VM buildozer

I need your help because I have a kivy application and I am trying to use buildozer in the VM. (I followed these steps if you are interested: https://kivy.org/docs/guide/packaging-android-vm.html) My code is in Python3 so I downloaded the Crystax NDK as it is written in the readme here: https://pypi...
John
2

votes
0

answer
285

Views

Android app crashes on start when deployed with buildozer

I'm writing an Android application under Python 2.7 using the Kivy library and buildozer to build/deploy it to the Android device. The device in question is an Asus ZenPad 3s 10, with the debugging options turned on. It is NOT rooted, as I understand this device can't be rooted at the moment. I can...
2

votes
1

answer
42

Views

“buildozer android update” fails

I have installed kivy(v:1.10.0) and buildozer on my mint. I have my kivy app working fine. I am following "installing buildozer with python3 support" to compile my apk file. But I am facing error in step 5 while executing buildozer android debug deploy run in terminal. The output is: Check confi...
Kasra K
2

votes
0

answer
269

Views

buildozer can't download hostpython2

I'm new to kivy. when i type buildozer -v android debug, buildozer can't download hostpython2. I searched this error but haven't found a solution yet. OS: Ubuntu 17.04 Below is the error message, can anyone help me to fix the problem? Thanks in advance. [INFO]: # Downloading recipes [INFO]: D...
dilde olupbiten
2

votes
0

answer
199

Views

Kivy Buildozer python-for-android OpenSSL issue

I have a Kivy app on Android that is supposed to send emails. Works fine on windows and linux, but when I run it on Android it gives me the following logcat: I/python (23377): Traceback (most recent call last): I/python (23377): File "/data/data/financas.org.test.financas/files/app/crystax_pyt...
DAvi B
3

votes
0

answer
247

Views

CalledProcessError with buildozer and kivy on OSX Yosemite

I am on Yosemite and am getting errors using buildozer to turn this into an apk. I have updated everything in Android sdk already. EDIT: I should note that I am only using the libraries "random" and "kivy", random being standard library so I don't think I need to specify it's use in buildozer.spec...
2

votes
0

answer
255

Views

Build apk using buildozer and kivy Error with gradlew (new project)

I have been able to build an .apk file by kivy and python2.7 using buildozer, and the app works fine on phone-device. After a while, i started a new project in a new folder (together with new main.py), but when i do buildozer android debug, the Error attached keeps coming out, something with gradlew...
Arief

View additional questions