- Не могу скомпилировать apk файл через buildozer
- I am new to python and buildozer, using buildozer to compile my first android app, #124
- Comments
- tusharyadav commented Jun 23, 2014
- inclement commented Jun 23, 2014
- JulianVolodia commented Jun 1, 2016
- inclement commented Jun 1, 2016
- ihavenonickname commented Aug 9, 2017
- inclement commented Aug 9, 2017
- abulojoshua1 commented Jan 29, 2018
- AnkitMArtin commented Feb 17, 2018
- inclement commented Feb 17, 2018 •
- Spidy20 commented Nov 30, 2020
- RotonEvan commented Dec 1, 2020
- Spidy20 commented Dec 1, 2020
- SnehaGupta0123 commented Jul 24, 2021
- MariyaSha commented Nov 30, 2021
- Как решить ошибку при создании apk с помощью buildozer?
- ‘# Android NDK is missing, downloading’ — Android NDK is installed #769
- Comments
- drjoms commented Dec 19, 2018
- Versions
- Description
- Check configuration tokens
- Ensure build layout
- Check configuration tokens
- Preparing build
- Check requirements for android
- Install platform
- Apache ANT found at /home/dimko/.buildozer/android/platform/apache-ant-1.9.4
- Android SDK found at /home/dimko/.buildozer/android/platform/android-sdk-20
- Android NDK is missing, downloading
Не могу скомпилировать apk файл через buildozer
Ошибка при создании apk kivy buildozer
У меня появляется какая-то непонятная ошибка с buildozer’а и я не знаю, что делать. Помогите.
Как скомпилировать Android-Приложение (получить APK-файл)
Осваиваю создание Android-Приложений на Delphi XE5. Сделал «Hello World!», но не могу понять как.
Не могу подписать APK файл
Помогите, пожалуйста. Не могу подписать APK файл из-за ошибки: Description Resource Path.
Не могу собрать приложение в Buildozer
Не могу собрать приложение в buildozer. Приложение полностью исправно работает. Помогите.
Не могу скомпилировать файл.
Всем привет. Есть друг ему нужно помочь, у него есть прога исходники которой потеряны, и.
как скомпилировать apk
Здравствуйте. третьи сутки бъюсь 🙁 над студио. Встала необходимость мобильного приложения под.
Как скомпилировать Apk
Здравствуйте, не могу запустить эмулятор, грузится долго (я и не дождался). Может из-за того что у.
Скомпилировать apk в Android Studio
У меня есть проект, который я разрабатывал в Visual Studio. Сейчас мне надо создать апк файл для.
Как java код скомпилировать в apk?
Здравствуйте , интересует вариант компиляции java кода , под андроид .У меня стоит 3 ide .
Источник
I am new to python and buildozer, using buildozer to compile my first android app, #124
Comments
tusharyadav commented Jun 23, 2014
I am new to python and buildozer, using buildozer to compile my first android app using python 3.4 and buildozer version 0.16, so on compiling it is showing -)
I check configration tokens
Unknown command/target android.
The text was updated successfully, but these errors were encountered:
inclement commented Jun 23, 2014
This issue is empty, I guess you did something wrong? Either way, you should post about your problem (include the full buildozer output log) on the kivy mailing list at https://groups.google.com/forum/#!forum/kivy-users
JulianVolodia commented Jun 1, 2016
python-for-android still not work on Windows? 🙂
inclement commented Jun 1, 2016
Yes, python-for-android still does not work on Windows.
On 01/06/16 03:04, Volodia wrote:
python-for-android still not work on Windows? 🙂
ihavenonickname commented Aug 9, 2017
I created the app from this tutorial. It works fine on desktop. The following command:
opens a new window and the game runs.
Unfortunately, when I try to run it on my Android device:
I see a slightly different output from the one described by OP:
I used this tutorial to set up Buildolzer.
I am working on Windows 10 with CPython 3.6.
inclement commented Aug 9, 2017
@ihavenonickname Post the full log and description of the problem on the kivy-users mailing list
abulojoshua1 commented Jan 29, 2018
I’ve failed to build an apk using buildozer.. i get an issue saying something like «failed to execute last command. «, i searched the Internet and tried all solutions people provided but all in vain. am using ubuntu 16.04. having cython 0.27.3, Buildozer 0.34 and kivy 1.10.0.
any help please!
AnkitMArtin commented Feb 17, 2018
I am getting this error while running the command
C:\Users\ankit\Desktop\test>buildozer android debug
Traceback (most recent call last):
File «C:\Program Files\Python36\Scripts\buildozer-script.py», line 11, in
load_entry_point(‘buildozer’, ‘console_scripts’, ‘buildozer’)()
File «c:\users\ankit\buildozer\buildozer\scripts\client.py», line 13, in main
Buildozer().run_command(sys.argv[1:])
File «c:\users\ankit\buildozer\buildozer_init_.py», line 122, in init
self.config.read(filename)
File «c:\program files\python36\lib\configparser.py», line 696, in read
self._read(fp, filename)
File «c:\program files\python36\lib\configparser.py», line 1077, in _read
raise MissingSectionHeaderError(fpname, lineno, line)
configparser.MissingSectionHeaderError: File contains no section headers.
file: ‘buildozer.spec’, line: 1
‘[app]\n’
inclement commented Feb 17, 2018 •
@AnkitMArtin buildozer does not support windows. It probably shouldn’t actually crash, although the reason for this seems to be a corrupted buildozer.spec, it isn’t clear if buildozer is at fault. However, even if you fix this, you wouldn’t be able to build an APK this way.
Spidy20 commented Nov 30, 2020
If you are using windows, it will not work there, try to use Google Colab for it.
RotonEvan commented Dec 1, 2020
If you are using windows, it will not work there, try to use Google Colab for it.
Can you please elaborate a bit more on how would I build by app on Google Colab?
Thanks in advance ! 🙂
Spidy20 commented Dec 1, 2020
Hello, please create your kivy app on a local machine, then go to colab upload it, follow the same procedure as mentioned in the documentation of buildozer. Colab uses Linux so you can use bulldozer there, recently I made one calc app using colab.
SnehaGupta0123 commented Jul 24, 2021
I made my app with google colab and the apk is also created but when I open in phone the app opens and closes its just not working for me.
Any suggestions please.
MariyaSha commented Nov 30, 2021
If anyone is struggling with using Buildozer on Windows, I’ve filmed a step by step tutorial about it a while back (using WSL):
https://youtu.be/VsTaM057rdc
@SnehaGupta0123 your app is probably crushing because of discrepancies in the buildozer.spec requirements section.
- Make sure you specify the versions of the libraries you’re using, for example:
requirements = python3, kivy==2.0.0, kivymd==0.104.1 - If you include images inside your application — you also need to require «pillow» (even if you don’t import it inside your Python file) so then:
requirements = python3, kivy==2.0.0, kivymd==0.104.1, pillow
This solved the crashing issues for me and I hope it helps you too! good luck! 🙂
Источник
Как решить ошибку при создании apk с помощью buildozer?
# Android packages installation done.
# Check application requirements
# Check garden requirements
# Compile platform
# Build the application #1
# Package the application
# Gradle project detected, copy files /home/kivy/Hello/.buildozer/android/platform/build/dists/myapp/src/main/java
Traceback (most recent call last):
File «/usr/local/bin/buildozer», line 11, in
load_entry_point(‘buildozer==0.34’, ‘console_scripts’, ‘buildozer’)()
File «/usr/local/lib/python2.7/dist-packages/buildozer/scripts/client.py», line 13, in main
Buildozer().run_command(sys.argv[1:])
File «/usr/local/lib/python2.7/dist-packages/buildozer/__init__.py», line 1058, in run_command
self.target.run_commands(args)
File «/usr/local/lib/python2.7/dist-packages/buildozer/target.py», line 92, in run_commands
func(args)
File «/usr/local/lib/python2.7/dist-packages/buildozer/target.py», line 104, in cmd_debug
self.buildozer.build()
File «/usr/local/lib/python2.7/dist-packages/buildozer/__init__.py», line 212, in build
self.target.build_package()
File «/usr/local/lib/python2.7/dist-packages/buildozer/targets/android.py», line 817, in build_package
copyfile(join(apk_dir, apk), join(self.buildozer.bin_dir, apk_dest))
File «/usr/lib/python2.7/shutil.py», line 82, in copyfile
with open(src, ‘rb’) as fsrc:
IOError: [Errno 2] No such file or directory: u’/home/kivy/Hello/.buildozer/android/platform/build/dists/myapp/build/outputs/apk/myapp-debug.apk’
# (str) Title of your application
title = My Application
# (str) Package name
# (str) Package domain (needed for android/ios packaging)
# (str) Source code where the main.py live
# (list) Source files to include (let empty to include all the files)
# (list) List of inclusions using pattern matching
# (list) Source files to exclude (let empty to not exclude anything)
# (list) List of directory to exclude (let empty to not exclude anything)
#source.exclude_dirs = tests, bin
# (list) List of exclusions using pattern matching
# (str) Application versioning (method 1)
# (str) Application versioning (method 2)
# (list) Application requirements
# comma seperated e.g. requirements = sqlite3,kivy
# (str) Custom source folders for requirements
# Sets custom source for any requirements with recipes
# (list) Garden requirements
# (str) Presplash of the application
# (str) Icon of the application
# (str) Supported orientation (one of landscape, portrait or all)
# (list) List of service to declare
# author = © Copyright Info
# change the major version of python used by the app
# Kivy version to use
# (bool) Indicate if the application should be fullscreen or not
# (string) Presplash background color (for new android toolchain)
# Supported formats are: #RRGGBB #AARRGGBB or one of the following names:
# red, blue, green, black, white, gray, cyan, magenta, yellow, lightgray,
# darkgray, grey, lightgrey, darkgrey, aqua, fuchsia, lime, maroon, navy,
# olive, purple, silver, teal.
# (int) Android API to use
# (int) Minimum API required
# (int) Android SDK version to use
# (str) Android NDK version to use
# (bool) Use —private data storage (True) or —dir public storage (False)
# (str) Android NDK directory (if empty, it will be automatically downloaded.)
# (str) Android SDK directory (if empty, it will be automatically downloaded.)
# (str) ANT directory (if empty, it will be automatically downloaded.)
# (bool) If True, then skip trying to update the Android sdk
# This can be useful to avoid excess Internet downloads or save time
# when an update is due and you just want to test/build your package
# (str) Android entry point, default is ok for Kivy-based app
# (list) Pattern to whitelist for the whole project
# (str) Path to a custom whitelist file
# (str) Path to a custom blacklist file
# (list) List of Java .jar files to add to the libs so that pyjnius can access
# their classes. Don’t add jars that you do not need, since extra jars can slow
# down the build process. Allows wildcards matching, for example:
# (list) List of Java files to add to the android project (can be java or a
# directory containing the files)
# (list) Android AAR archives to add (currently works only with sdl2_gradle
# (list) Gradle dependencies to add (currently works only with sdl2_gradle
# (str) python-for-android branch to use, defaults to stable
# (str) OUYA Console category. Should be one of GAME or APP
# If you leave this blank, OUYA support will not be enabled
# (str) Filename of OUYA Console icon. It must be a 732×412 png image.
# (str) XML file to include as an intent filters in tag
# (list) Android additionnal libraries to copy into libs/armeabi
# (bool) Indicate whether the screen should stay on
# Don’t forget to add the WAKE_LOCK permission if you set this to True
# (list) Android application meta-data to set (key=value format)
# (list) Android library project to add (will be added in the
# (str) Android logcat filters to use
#android.logcat_filters = *:S python:D
# (bool) Copy library instead of making a libpymodules.so
# (str) The Android arch to build for, choices: armeabi-v7a, arm64-v8a, x86
# Python for android (p4a) specific
# (str) python-for-android git clone directory (if empty, it will be automatically cloned from github)
# (str) The directory in which python-for-android should look for your own build recipes (if any)
# (str) Filename to the hook for p4a
# (str) Bootstrap to use for android builds
# (str) Path to a custom kivy-ios folder
# (str) Name of the certificate to use for signing the debug version
# Get a list of available identities: buildozer ios list_identities
#ios.codesign.debug = «iPhone Developer: ()»
# (str) Name of the certificate to use for signing the release version
# (int) Log level (0 = error only, 1 = info, 2 = debug (with command output))
# (int) Display warning if buildozer is run as root (0 = False, 1 = True)
# (str) Path to build artifact storage, absolute or relative to spec file
# (str) Path to build output (i.e. .apk, .ipa) storage
# List as sections
# You can define all the «list» as [section:key].
# Each line will be considered as a option to the list.
# Let’s take [app] / source.exclude_patterns.
# Instead of doing:
# This can be translated into:
# You can extend section / key with a profile
# For example, you want to deploy a demo version of your application without
# HD content. You could first change the title to add «(demo)» in the name
# and extend the excluded directories to remove the HD content.
#title = My Application (demo)
# Then, invoke the command line with the «demo» profile:
#buildozer —profile demo android debug
Источник
‘# Android NDK is missing, downloading’ — Android NDK is installed #769
Comments
drjoms commented Dec 19, 2018
Versions
Python:
python —version
Python 3.6.5
eselect python list
Available Python interpreters, in order of preference:
[1] python3.6
[2] python2.7
[3] python3.4
[4] python3.5 (fallback)
OS:
uname -a
Linux (none)dimko’s Desktop 4.17.0-gentoo #6 SMP PREEMPT Sat Dec 8 22:29:46 GMT 2018 x86_64 AMD Ryzen 5 1600 Six-Core Processor AuthenticAMD GNU/Linux
Kivy:
dev-python/Kivy
Latest version available: 1.10.1
Latest version installed: 1.10.1
Cython:
dev-python/cython
Latest version available: 0.25.2
Latest version installed: 0.25.2
Description
/home/dimko/.local/bin/buildozer android debug deploy run
Check configuration tokens
Ensure build layout
Check configuration tokens
Preparing build
Check requirements for android
Install platform
Apache ANT found at /home/dimko/.buildozer/android/platform/apache-ant-1.9.4
Android SDK found at /home/dimko/.buildozer/android/platform/android-sdk-20
Android NDK is missing, downloading
Traceback (most recent call last):
File «/home/dimko/.local/bin/buildozer», line 11, in
sys.exit(main())
File «/home/dimko/.local/lib64/python3.6/site-packages/buildozer/scripts/client.py», line 13, in main
Buildozer().run_command(sys.argv[1:])
File «/home/dimko/.local/lib64/python3.6/site-packages/buildozer/init.py», line 1059, in run_command
self.target.run_commands(args)
File «/home/dimko/.local/lib64/python3.6/site-packages/buildozer/target.py», line 92, in run_commands
func(args)
File «/home/dimko/.local/lib64/python3.6/site-packages/buildozer/target.py», line 102, in cmd_debug
self.buildozer.prepare_for_build()
File «/home/dimko/.local/lib64/python3.6/site-packages/buildozer/init.py», line 176, in prepare_for_build
self.target.install_platform()
File «/home/dimko/.local/lib64/python3.6/site-packages/buildozer/targets/android.py», line 507, in install_platform
self._install_android_ndk()
File «/home/dimko/.local/lib64/python3.6/site-packages/buildozer/targets/android.py», line 319, in _install_android_ndk
cwd=self.buildozer.global_platform_dir)
File «/home/dimko/.local/lib64/python3.6/site-packages/buildozer/init.py», line 687, in download
urlretrieve(url, filename, report_hook)
File «/usr/lib64/python3.6/urllib/request.py», line 1819, in retrieve
block = fp.read(bs)
File «/usr/lib64/python3.6/tempfile.py», line 483, in func_wrapper
return func(*args, **kwargs)
ValueError: read of closed file
stuff never worked, i am trying to get it to work for a first time.
trying to use simple app i foudn on internet (50 lines or so)from Kivy to work on android.
The text was updated successfully, but these errors were encountered:
Источник