Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Welcome To Ask or Share your Answers For Others

Categories

0 votes
386 views
in Technique[技术] by (71.8m points)

python 3.8 - Permisson Denied Error with Kivy sample code

I was testing buildozer with Kivy test code below:

from kivy.app import App
from kivy.uix.button import Button

class TestApp(App):
    def build(self):
        return Button(text='Hello World')

TestApp().run()

This code is sample code in Kivy website.

But I build apk with buildozer, it occurs this error:

[Errno 13] Permission denied

I followed Rock Koder's video, and in comment, Rock Koder said 'Try it as admin or root' but I don't understand this.

I'm using Windows 10 and I used WSL to run buildozer.

question from:https://stackoverflow.com/questions/65622827/permisson-denied-error-with-kivy-sample-code

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome To Ask or Share your Answers For Others

1 Answer

0 votes
by (71.8m points)

WSL does not work very well with kivy and buildozer, (believe me, I have tried many times), and also you don't get good functionality like deploy and run, since you can't share the USB between WSL, I'd recommend using an Ubuntu 20.04 VM and then installing the buildozer dependencies.


与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Click Here to Ask a Question

...