Closed marziehsaffari closed 1 year ago
The recipe for android is matplotlib 3.5.2: https://github.com/kivy/python-for-android/blob/develop/pythonforandroid/recipes/matplotlib/__init__.py#L10
Have you installed the garden flower for matplotlib?
Thank you tcaduser for your answer.
But as you said I used matplotlib 3.5.2 (specified this version in buildozer.spec (Is it enough?)). The .apk file was builded but unfortunately I doesn't open on andriod! (like the previous).
Yes, I have installed the garden flower for matplotlib by this line code:
python -m pip install https://github.com/kivy-garden/flower/archive/master.zip
matplotlib is a legacy recipe, but in the process of being ported to the new way of doing things. You need to look at the adb log files to see what is missing.
However, please try:
garden install matplotlib --app
Though you can pin a version for a recipe, it will only build if the pinned versions has the same build instructions as the default. It sounds like this is not the case.
the .apk file is builded without error but it doesn't work on android!
"doesn't work" is not actionable by anybody. Get an error message. https://github.com/Android-for-Python/Android-for-Python-Users#get-an-error-message
This is a support question. Please do not ask or answer support questions here; this is for bug reports on Buildozer only.
Please visit https://github.com/kivy/buildozer#support to find where to take support questions. This issue should be closed.
👋 @marziehsaffari, we use the issue tracker exclusively for bug reports and feature requests. However, this issue appears to be a support request. Please use our support channels to get help with the project. Let us know if this comment was made in error, and we'll be happy to reopen the issue.
Versions
Description
I'm trying to build .apk file from python using buildozer but when I debuge, I get error below for matplotlib:
the version of matplotlib that I specified in buildozer.spec is 3.4.3 but when I don't specify the version, the .apk file is builded without error but it doesn't work on android!
buildozer.spec
Command:
Spec file:
Logs