Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Windows support to build Android APK #1022

Closed
josephernest opened this issue Feb 5, 2020 · 2 comments
Closed

Windows support to build Android APK #1022

josephernest opened this issue Feb 5, 2020 · 2 comments

Comments

@josephernest
Copy link

josephernest commented Feb 5, 2020

First of all, congrats for this wonderful project.

Is there a roadmap (if so, would you have a link?) about Windows support?

More precisely I'm not speaking about building Windows .exe packages (I already use py2exe, cx_freeze, etc.), but rather build Android APK apps from a Windows computer.

Is there maybe an early beta / alpha version? I could help in beta-testing it.


Here is what I tried:

pip install kivy buildozer

then create a main.py file:

from kivy.app import App
from kivy.uix.button import Button
class TestApp(App):
    def build(self):
        return Button(text='hello world')
if __name__ == '__main__':
    TestApp().run()

The command

buildozer init

worked but

buildozer android debug

failed:

Unknown command/target android

@tshirtman
Copy link
Member

there is no current plan to do so, it might come in the future if some work is done to have prebuilt p4a distributions, but currently we don't, and building such a thing in windows would require a lot of adaptations.

We recommand windows users to either use WSL if they have windows 10, or to use an Ubuntu VM to achieve that.

@josephernest
Copy link
Author

Thank you for your answer. I'll use my Debian server in the meantime!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants