-
Notifications
You must be signed in to change notification settings - Fork 503
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
Kivy App crash in Android but not in PC 'KeyError: 'kivy.garden.matplotlib'' #1226
Comments
to me it looks like
Which to me looks like finger pointing, and was not helpful to me. You can however make a local copy of garden.matplotlib and handcraft.... here are my notes from a previous project.
|
This worked for me! Thank you very much. |
Yes - it worked for me too! |
worked for me too thanks man !! |
Hello, I am following the notes but the app still does not work in android. Can you please help me with the .spec file? |
I didn't have used matplotlib recently on android - at least not since
buildozer has deprecated the `garden_requirements` setting in
buildozer.spec.
The garden modules I recently had used were qrcode, xcamera and zbarcam and
I got them included in the app by adding the following to the
`requirements` setting of buildozer.spec: kivy_garden.qrcode,
kivy_garden.xcamera, kivy_garden.zbarcam, ...
Please post a minumal example, your buildozer.spec file and the log of the
error/crash message from your logcat android run for to get better help.
Am Do., 3. Dez. 2020 um 23:16 Uhr schrieb nikosjabbour <
[email protected]>:
… Hello, I am following the notes but the app still does not work in
android. Can you please help me with the .spec file?
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
<#1226 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AA4U63TA5ZOL6TNHB6DLPY3STAL33ANCNFSM4RLV2VYQ>
.
|
See this answer on StackOverflow. It also fixed my problem. |
thanks its worked for me |
First Step: Then, use the stable version of matplotlib |
On the following system I had to remove ccache to make it working, so it becomes this way:
|
But if I do sudo apt remove ccache , the building is not possible because it doesn't find the cache, and also the step 3 I don't know where that file is |
|
Versions
Description
I want to plot graphic of matplotlib with command "from kivy.garden.matplotlib.backend_kivyagg import FigureCanvasKivyAgg" in .py file. This command works in PC but not in Android.
buildozer.spec
Command:
buildozer -v android logcat | grep python
Spec file:
Logs
The text was updated successfully, but these errors were encountered: