【发布时间】:2021-09-25 22:46:58
【问题描述】:
请帮忙,我正在更新我的安卓应用。它是用 KivyMD 编写的。这次我使用了图标。该图标在 Pycharm 上的调试中显示没有问题,但在我的手机上没有。我仍然可以点击它,但我只是看不到图标。
基维
<WordScreen>
name: 'wordscreen'
MDToolbar:
id: toolbar
title: "VOCGO"
elevation: 5
pos_hint: {'top': 1}
height: '40dp'
right_action_items: [["home-outline", lambda x: app.set_screen()]]
规格
# (list) Source files to include (let empty to include all the files)
source.include_exts = py,png,jpg,kv,atlas,json,ttf,txt
# (list) Application requirements
# comma separated e.g. requirements = sqlite3,kivy
requirements = python3,kivy==2.0.0,kivyMD,pillow,requests
# change the major version of python used by the app
osx.python_version = 3
# Kivy version to use
osx.kivy_version = 1.9.1
# (list) Permissions
android.permissions = INTERNET
# (int) Target Android API, should be as high as possible.
android.api = 29
非常感谢您!
【问题讨论】: