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

Python compilation error: LXMLRecipe' object has no attribute 'ndk_include_dir' #2493

Closed
4 of 5 tasks
excepterror opened this issue Sep 17, 2021 · 1 comment
Closed
4 of 5 tasks
Assignees

Comments

@excepterror
Copy link
Contributor

excepterror commented Sep 17, 2021

Checklist

  • the issue is indeed a bug and not a support request
  • issue doesn't already exist: https://github.com/kivy/python-for-android/issues
  • I have a short, runnable example that reproduces the issue
  • I reproduced the problem with the latest development version (p4a.branch = develop)
  • I used the grave accent (aka backticks) to format code or logs when appropriated

Versions

  • Python: 3.8.10
  • OS: Ubuntu 20.04
  • Kivy: master
  • Cython: 0.29.21
  • OpenJDK: 13

Description

Recipe doesn't build due to the the compilation error as 'ndk_include_dir' is not an attribute for :cls: LXMLRecipe(). Fix is simple: In line 55, ndk_include_dir = self.ctx.ndk_include_dir. I am not aware if this issue is present in other recipes too. Thanks!

buildozer.spec

Command:

buildozer android debug
@misl6
Copy link
Member

misl6 commented Sep 26, 2021

Fixed via #2495

@misl6 misl6 closed this as completed Sep 26, 2021
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

2 participants