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

To add creation and management of emulators, direct deployment to emulators through buildozer for both Android and Ios #1652

Open
Samael-TLB opened this issue Aug 2, 2023 · 4 comments
Labels

Comments

@Samael-TLB
Copy link

Description

Currently, buildozer only supports built app deployment to a device and not to an emulator. Moreover, there is no commands for creating and managing the emulators and for deploying the app to an emulator for both Android and Ios. As, internally, we are using the command line tools for both the platforms to achieve the build, and as both the platforms support command line tools for creation, management and deployment to emulators, we can definitely have a little bit of code be added to buildozer to add this feature.

Consequently, we can take inspiration from beehive project who have already achieved this. This will make user's life easier and would make the buildozer features much more better, thereby increasing ease of usage.

@Android-for-Python
Copy link

An emulator is a device (although a virtual one).
If the user creates an emulator, adb (and hence Buildozer) will find it automatically.

To create an emulator https://github.com/Android-for-Python/Android-for-Python-Users#appendix-b--using-an-emulator

@Samael-TLB
Copy link
Author

Samael-TLB commented Aug 4, 2023

Hi, @Android-for-Python I definitely understand what you have hinted at. What I would love buildozer to have is native capability for creation and managing and deployment to an emulator (avd). This is possible as android provides the command line tools for doing the same. The current way is hacky and needs either to have android studios or use the emulator cmd tool directly. This bleeds out the functionality outside of kivy ecosystem and puts pressure on users to have a separate dependency (Android Studio) or learn the cmd tools. For completeness and ease of use, we can definitely have these functionalities built into buildozer as its gonna be an easy extension (due to buildozer internally using the cmd tools only). Also, for being future proof and increasing developer productivity, we can have a software gui solution that can help in creation of kivy apps.

@Samael-TLB
Copy link
Author

Also, we can have the same capabilities integrated for ios too in buildozer

@Android-for-Python
Copy link

To me it looks like reinventing the wheel. Adding complexity without adding significant utility. There is no reason to replicate what Android Studio does, and well.

I understand your view is different.

@misl6 misl6 added the feature label Aug 6, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants