Online APK packaging service

951 views
Skip to first unread message

Binh Nguyen

unread,
Apr 1, 2017, 1:41:42 PM4/1/17
to Kivy users support
Hi Guys,

I've been looking at the (Kivy) concept recently. However, one of the major things that has been bothering me is that the toolchain can be difficult/tedious to get up and running. I thought that the downloads and compilation efforts would be low to moderate. This is clearly not the case. 

I was also under the impression that the VM image also contained everything already without requiring further downloads. This is also not the case despite the description that was provided at the download URL, https://kivy.org/#download (prompting me that it requires installation of python-for-linux after running the usual sequence of buildozer commands)

I've heard it mentioned that there may be an online APK packaging service at, https://android.kivy.org/
This URL does not seem to be functional at this moment in time though. Could you please tell me of any other options?

Even if you all you do is tell me how the packaging actually works would be helpful because I may be able to build something more lightweight and amenable to my particular circumstances...

Thank you

Binh Nguyen

unread,
Apr 1, 2017, 2:49:53 PM4/1/17
to Kivy users support
As an aside, it sometimes feels as though setting everything up is like the ultimate 'Faustian Bargain'. Every time you think you have the entire toolchain setup you realise that it just wants to do more downloads and compilation. Please tell me that there are attempts at getting the toolchain setup a bit more streamlined in future?

Geekademy

unread,
Apr 1, 2017, 3:27:01 PM4/1/17
to kivy-...@googlegroups.com
The android toolchain is what it is, if you are unhappy with it, contact google
for a full refund (hahaha).

I did find a way to remove duplicate components that accumulated, which you'll
find described here:

https://github.com/kivy/buildozer/issues/146
> --
> You received this message because you are subscribed to the Google Groups "Kivy
> users support" group.
> To unsubscribe from this group and stop receiving emails from it, send an email
> to kivy-users+...@googlegroups.com
> <mailto:kivy-users+...@googlegroups.com>.
> For more options, visit https://groups.google.com/d/optout.

--
-Mike


-------------------------------------------------------------
Mike Miller Earth, Sol, Orion Arm, Milky Way, VSC

Alexander Taylor

unread,
Apr 1, 2017, 6:54:16 PM4/1/17
to Kivy users support
> Even if you all you do is tell me how the packaging actually works would be helpful

All the build code is in the python-for-android repository on github: https://github.com/kivy/python-for-android. The documentation at http://python-for-android.readthedocs.io/en/latest/ has some higher level discussion.


> This URL does not seem to be functional at this moment in time though. Could you please tell me of any other options?

Unfortunately this service is no longer maintained (actually it hasn't been for many years), we currently only directly support the toolchain itself for use locally.


> Please tell me that there are attempts at getting the toolchain setup a bit more streamlined in future?

While we obviously try to make improvements where we can, the core of the toolchain is complicated mostly because the task is complicated, not because we do much that isn't necessary. That said, it would be possible to make things simpler in some cases and we've talked about providing some alternatives such as prebuilt dists. Actually there is an experimental pull request for this at https://github.com/kivy/python-for-android/pull/804 , but I never merged it due to concerns about flexibility and maintainability.

Binh Nguyen

unread,
Apr 3, 2017, 11:44:49 AM4/3/17
to Kivy users support
Muhahaha! After a lot of really weird stuff that I didn't/couldn't believe was possible I got things going. Problems faced:
- ran out of space in home directory
- target API set wasn't the one being picked up
- 32 vs 64-bit NDK/SDK binary issues
- possible python-for-android setuptool oddities?
- JDK versioning issues
- funky/weird ass error and debug messages
- and more... LOL

Have outlined workarounds for issues faced on my blog in case anyone has similar issues,
Reply all
Reply to author
Forward
0 new messages