问题描述
我刚刚用buildozer创建了.apk文件,但是正如我在主题中所说的那样,在设备上看不到任何图标.在Linux上一切正常.但是在设备中,所有图标均为空白.这是我的buildozer.init要求:(我的ndk,sdk,minapi,ndk_api值是默认值)
I'm just created .apk file with buildozer.But as i said in topic, can't see any icon on device.Everything works and looks fine in Linux. But in device,all icons are blank. This is my buildozer.init requirements: (my ndk,sdk,minapi,ndk_api values are default)
如果我使用 kivymd == 0.104.1 ,我可以在android中看到图标,但不能使用某些命令,例如: MDTab.get_tab_list(),MDTab.switch_tab()(我在在这里之前问过这个问题.所以我必须使用master分支版本因为我需要在单击某些按钮后切换MDTab.但是现在,我看不到任何图标.是该bug还是有人可以帮助我吗?
(最后注意:我在更改要求版本之前先删除了.buildozer文件.)
If i use kivymd==0.104.1, i can see icons in android but can't use some commands like : MDTab.get_tab_list() , MDTab.switch_tab() (I asked that problem before in here.So i have to use master branch version because i need to switch MDTabs after some button clicks.But now,i can't see any icon.Is that bug or can someone help me ? Thank you..
(Last note: Im removing .buildozer file before change requirements versions.)
推荐答案
在buildozer.spec-中设置正确的依赖项- https://github.com/kivymd/KivyMD/commit/df73810cc725e4575c93bc4cbbb72f67ff568dc1
Set correct dependencies in buildozer.spec- https://github.com/kivymd/KivyMD/commit/df73810cc725e4575c93bc4cbbb72f67ff568dc1
这篇关于KivyMD,在Android中看不到图标,但在Linux上可以使用的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!