• <tfoot id='wPr75'></tfoot>
  • <small id='wPr75'></small><noframes id='wPr75'>

    <i id='wPr75'><tr id='wPr75'><dt id='wPr75'><q id='wPr75'><span id='wPr75'><b id='wPr75'><form id='wPr75'><ins id='wPr75'></ins><ul id='wPr75'></ul><sub id='wPr75'></sub></form><legend id='wPr75'></legend><bdo id='wPr75'><pre id='wPr75'><center id='wPr75'></center></pre></bdo></b><th id='wPr75'></th></span></q></dt></tr></i><div id='wPr75'><tfoot id='wPr75'></tfoot><dl id='wPr75'><fieldset id='wPr75'></fieldset></dl></div>
      • <bdo id='wPr75'></bdo><ul id='wPr75'></ul>
    1. <legend id='wPr75'><style id='wPr75'><dir id='wPr75'><q id='wPr75'></q></dir></style></legend>

        kivymd 应用程序在 Android 手机上崩溃 ModuleNotFound

        时间:2023-09-01

        <small id='zofHv'></small><noframes id='zofHv'>

      1. <i id='zofHv'><tr id='zofHv'><dt id='zofHv'><q id='zofHv'><span id='zofHv'><b id='zofHv'><form id='zofHv'><ins id='zofHv'></ins><ul id='zofHv'></ul><sub id='zofHv'></sub></form><legend id='zofHv'></legend><bdo id='zofHv'><pre id='zofHv'><center id='zofHv'></center></pre></bdo></b><th id='zofHv'></th></span></q></dt></tr></i><div id='zofHv'><tfoot id='zofHv'></tfoot><dl id='zofHv'><fieldset id='zofHv'></fieldset></dl></div>
          <legend id='zofHv'><style id='zofHv'><dir id='zofHv'><q id='zofHv'></q></dir></style></legend>

                  <bdo id='zofHv'></bdo><ul id='zofHv'></ul>
                • <tfoot id='zofHv'></tfoot>
                    <tbody id='zofHv'></tbody>
                  本文介绍了kivymd 应用程序在 Android 手机上崩溃 ModuleNotFoundError: No module named 'PIL'的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

                  问题描述

                  我的 Kivy 应用在 Android 手机上启动时崩溃.buildozer logcat 显示如下错误:

                  My Kivy app crashes on launch on android phone. buildozer logcat shows the following error:

                  02-21 17:09:58.777 14941 14979 I python  :  ModuleNotFoundError: No module named 'PIL'
                  02-21 17:09:58.777 14941 14979 I python  : Python for android ended.
                  

                  这是我的 buildozer.spec 要求:

                  Here are my buildozer.spec requirements:

                  requirements = python3,kivy==2.0.0,git+https://github.com/HeaTTheatR/KivyMD.git,sdl2_ttf==2.0.15,python-dateutil,requests,urllib3,chardet,idna,plyer,android,jnius,oscpy
                  

                  据我了解,只有 KivyMD 依赖于 PIL.该应用程序在我的 Mac 上完美运行,并且之前在 android 手机上运行过.错误刚刚开始发生.所以,我真的很困惑,希望能得到任何帮助.提前致谢!

                  As I understand, only the KivyMD depends on PIL. The app works perfectly on my mac and WAS working before on the android phone. The error just started to occur. So, I'm really confused and would appreciate any help. Thanks in advance!

                  推荐答案

                  您可能已经知道,KivyMD 依赖于 PIL,而不是 Kivy.您在应用程序中使用最新版本的 KivyMD,这取决于 PIL.要消除错误,只需在 buildozer.spec 文件的 requirements 中添加 pillow.

                  As you might already know, KivyMD depends on PIL, not Kivy. You are using the latest version of KivyMD using git in your app, which depends on PIL. To remove the error just add pillow in the requirements of your buildozer.spec file.

                  这篇关于kivymd 应用程序在 Android 手机上崩溃 ModuleNotFoundError: No module named 'PIL'的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持html5模板网!

                  上一篇:在 Android 上的 kivy 中保存应用数据 下一篇:kivy buildozer 虚拟机

                  相关文章

                  最新文章

                  1. <small id='8Upbc'></small><noframes id='8Upbc'>

                    <legend id='8Upbc'><style id='8Upbc'><dir id='8Upbc'><q id='8Upbc'></q></dir></style></legend>
                  2. <i id='8Upbc'><tr id='8Upbc'><dt id='8Upbc'><q id='8Upbc'><span id='8Upbc'><b id='8Upbc'><form id='8Upbc'><ins id='8Upbc'></ins><ul id='8Upbc'></ul><sub id='8Upbc'></sub></form><legend id='8Upbc'></legend><bdo id='8Upbc'><pre id='8Upbc'><center id='8Upbc'></center></pre></bdo></b><th id='8Upbc'></th></span></q></dt></tr></i><div id='8Upbc'><tfoot id='8Upbc'></tfoot><dl id='8Upbc'><fieldset id='8Upbc'></fieldset></dl></div>

                      • <bdo id='8Upbc'></bdo><ul id='8Upbc'></ul>
                      <tfoot id='8Upbc'></tfoot>