Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

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 /root/Bt/.buildozer
% Total     % Received  % Xferd   Average  Speed    Time    Time     Time  Current 
Dload Upload  Total Spent    Left Speed
100  1395  100  1395    0     0    276      0  0:00:05  0:00:05 --:--:--   276
File "<stdin>", line 1
<HTML><HEAD>
^
SyntaxError: invalid syntax
# Command failed: curl http://python-distribute.org/distribute_setup.py | venv/bin
/python
like image 638
user Avatar asked Apr 09 '14 06:04

user


People also ask

Why is my KIVY app not working?

you have to write all modules and parent module in requirements which your app is using. To know module which you app is using has two method: run command pip freeze in current app folder in powershell. install all the module as below photo which help to install your application module.

Can KIVY apps run on Android?

You can run Kivy applications on Android, on (more or less) any device with OpenGL ES 2.0 (Android 2.2 minimum). This is standard on modern devices; Google reports the requirement is met by 99.9% of devices.


2 Answers

It looks like this curl failed for some reason. Could you make sure your buildozer is fully up to date with git, delete your .buildozer directory, and try again?

like image 110
inclement Avatar answered Oct 27 '22 21:10

inclement


I would try to update your Python version, make sure it is the latest.

like image 28
LucioRandy Avatar answered Oct 27 '22 21:10

LucioRandy