Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

liblzma download error #2885

Closed
huligh70 opened this issue Aug 28, 2023 · 2 comments
Closed

liblzma download error #2885

huligh70 opened this issue Aug 28, 2023 · 2 comments

Comments

@huligh70
Copy link

Versions

  • Python:3.11
  • OS:Ubuntu
  • Kivy:2.21
  • Cython:3.0
  • OpenJDK:20

Description

when i run cmd 'buildozer android debug ',there was an error . can't download liblzma. The version is 5.2.4.
The address is "https://tukaani.org/xz/xz-5.2.4.tar.gz"
I find that the liblzma package download address is jump to "https://sourceforge.net/projects/lzmautils/files/xz-5.2.4.tar.gz/download".
So it cause the ERROR.
Edit the file "python-for-android/pythonforandroid/recipes/liblzma/init.py" and change the 'version' values to 5.4.4 to sloving the ERROR
Sorry for my bad English

buildozer.spec

Command:

// REPLACE ME: buildozer command ran? e.g. buildozer android debug
// Keep the triple grave accent (aka backquote/backtick) to have the code formatted

Spec file:

// REPLACE ME: Paste your buildozer.spec file here

Logs

// REPLACE ME: Paste the build output containing the error
// Keep the triple grave accent (a.k.a. backquote/backtick) to have the code formatted
@RobertFlatt
Copy link
Contributor

I just tried it and https://github.com/kivy/python-for-android/blob/develop/pythonforandroid/recipes/liblzma/__init__.py#L14-L15 downloaded and built with no issue.

Perhaps you experienced a temporary network issue.

If you want to try some other version or site, the easiest way is to locally modify the recipe
https://github.com/Android-for-Python/Android-for-Python-Users#appendix-c--locally-modifying-a-recipe

@misl6
Copy link
Member

misl6 commented Oct 19, 2023

Closing due to inactivity (and as said by @RobertFlatt, was likely a temporary network issue)

@misl6 misl6 closed this as completed Oct 19, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants