Kivy: Kivy Launcher Crash Android -
i'm tyring launch app on android using kivy launcher can see happens widgets pos/size on smaller screen.
when launch, crashes.
so... i'm guessing i've done illegal in app...which runs fine on windows desktop.
my code book i'm looking at:
- paths when loading images
- screen configuration
i using windows style paths , figured that's bad. used abspath+"\rest of path" , got crash.
next used local paths "my data\sprite" , got crash.
i'm new kivy don't know things valid while running on pc vs android.
as far screen configuration, no code written , kivy runs in window mode on desktop.
does know possibly cause kivy launcher crash on loading without warning?
kivy 1.9.0
my code python...i don't use kv files.
------update-----
log:
https://drive.google.com/file/d/0b84acty-m0oxwtfacm1tzxfhzda/view?usp=docslist_api
looks it's paths when loading resources. error says path doesn't exist path , file exist.
is there way construct resource paths ensure compatibility on platforms?
the problem path construction.
i imported os , os.path use abspath , os.sep.
i created path constructor class returns platform specific string.
:-)
Comments
Post a Comment