kivy / kivy-launcher

Reboot of the older Kivy launcher
MIT License
108 stars 56 forks source link

Fix android load error #19

Closed Zen-CODE closed 3 years ago

Zen-CODE commented 3 years ago

Background

This PR fixes the below error. It also makes various pep8 fixes and moves kv loading to and external file (better tooling support/kv lang recognition).

 File "jnius/jnius_export_func.pxi", line 26, in jnius.find_javaclass
   File "jnius/jnius_jvm_dlopen.pxi", line 91, in jnius.create_jnienv
 jnius.JavaException: JVM exception occurred: android/os/Environment java.lang.NoClassDefFoundError
Zen-CODE commented 3 years ago

@tshirtman Do we still want the circleci integration? Or switch to github?

tshirtman commented 3 years ago

I'd be of the opinion of switching to github actions, yes, the buildozer action makes that relatively easy, i have some examples if you need.

dotrichard commented 3 years ago

@tshirtman Bump. Can't see why CircleCI is failing and I'm not happy giving it full access to my personal and private repos -and it does not allow me to choose otherwise.

tshirtman commented 3 years ago

We can switch it to github actions, if you need help to do that i can have a look later today or this weekend.

Zen-CODE commented 3 years ago

That would help thanks. Otherwise I'll only get time next week to look at it.

tshirtman commented 3 years ago

https://github.com/kivy/kivy-launcher/actions/runs/772332600 :dancers:

(btw, renamed the master branch to main don't be surprised)