python-for-android

Turn your Python application into an Android APK (by kivy)

Python-for-android Alternatives

Similar projects and alternatives to python-for-android

NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a better python-for-android alternative or higher similarity.

Suggest an alternative to python-for-android

Reviews and mentions

Posts with mentions or reviews of python-for-android. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2022-01-06.
  • My first app made with Buildozer crashes on start
    2 projects | reddit.com/r/kivy | 6 Jan 2022
    AAB support was added to python for android, see here. You may need to install the development version for this, and I don't know if it integrates with buildozer yet (or how).
  • Unable to load music
    3 projects | reddit.com/r/kivy | 3 Jan 2022
    Sorry I don't know exactly what it will take; the error may be inaccurate/incomplete. It's a bit weird to fail on this (why wouldn't it just continue using default configuration?), it's maybe a sign something else is up... It seems like sequenced audio format support is disabled in python-for-android, but left enabled in kivy-ios (albeit in a non-working state...)
  • Made my first app and wanted to upload it on Google Play, turns out APK's are no longer accepted and I'm completely lost
    1 project | reddit.com/r/androiddev | 29 Dec 2021
    Second, stop the "disappointment" BS, it's not helping at all. Check this thread on GitHub, see if it helps. Rule of thumb: your tools should be able to produce AABs and APKs. If they don't find alternatives, however hacky. Worst case scenario, use an alternative cross-platform solution, or just write native apps.
  • How to publish Python/Kivy games in Google Play
    1 project | reddit.com/r/kivy | 26 Dec 2021
    It seems you can do this with python for android master branch, aab support was merged a while back, I never tried so can't comment - there is a lot of discussion there
  • Using Buildozer with Conda env packages
    1 project | reddit.com/r/learnpython | 14 Nov 2021
    The requirements key takes a list of package names, not paths to locally installed packages. If it's a pure Python package, it'll fetch it from PyPI (through pip). If it needs some compilation (like Pandas), it'll look for a recipe.
  • buildozer -v android debug error
    4 projects | reddit.com/r/kivy | 2 Nov 2021
    https://github.com/kivy/python-for-android.git
  • How to distribute a game made in python?
    1 project | reddit.com/r/incremental_games | 28 Oct 2021
  • How to use c funcs in kivy app.
    1 project | reddit.com/r/kivy | 24 Oct 2021
    Sure, see python for android recipes for examples of building C libraries for use with Android
  • "Unable to open main.py, abort." Error when running kivy app on iOS Simulator on xCode
    2 projects | reddit.com/r/kivy | 22 Oct 2021
    The Android recipes are here and you will see there are a lot more of them - including pandas. So to solve this, you would need to implement a similar pandas recipe for the kivy-ios toolchain. I don't know exactly how hard that is, but it probably isn't trivial (it would already exist if it was)
  • How to convert kivy/kivymd app to apk in Windows?
    2 projects | reddit.com/r/u_Tewhem | 6 Sep 2021
    We will need to clone [python-for-android](https://github.com/kivy/python-for-android) to avoid problems such as not showing some symbols.
    2 projects | reddit.com/r/kivy | 6 Sep 2021
    We will need to clone python-for-android to avoid problems such as not showing some symbols. linux !git clone Then we need to edit it in spec file.p4a.source_dir = /path/to/your/python-for-android and p4a.branch = develop.
    2 projects | dev.to | 1 Sep 2021
    This command will create a configuration file named buildozer.spec for us. Now it's time to edit this file. At least you should change the title, package.name, package.domain. After changing these, my suggestion is to make some more changes to avoid some problems. Let's look at source.dir first, if your main.py file is in the same directory, there is no need to change it, but if not, you should write the path here. Afterwards, if you have used separate files such as png, txt, csv in the program, you should add the extension to source.include_exts. Now let's change the most important, requirements. If you only used kivy, python3,kivy==2.0.0rc4 will be enough to do it this way.If you also used kivymd then you should add this https://github.com/kivymd/KivyMD/archive/master.zip. If you have used other libraries, run the pip install command, and it will show the downloaded packages. You can add them without specifying the version. If you want to use icon you can uncomment icon.filename and you can edit the path. If you want your app to be fullscreen, you can make fullscreen 1. We will need to clone python-for-android to avoid problems such as not showing some symbols.
  • How can I make a python IDE for mobile?
    1 project | reddit.com/r/kivy | 30 Aug 2021
    The core steps are to compile CPython (well, or something else but CPython is most obvious) for the Android environment, work out how to pack it into your apk, then call it either via its C API or as a separate process. For the former you can read the python-for-android source code for an example. For the latter I'm not sure what the current state of things is as child process limitations have changed over time, but I think it's still possible one way or another. That's what termux probably does, I don't know if it has source available that you could look at.
  • Third Party Librarys
    1 project | reddit.com/r/kivy | 28 Jul 2021
    Sure. Just add them to requirements in the buildozer.spec file. This works fine for pure Python packages. Libraries that needs compilation require a recipe. All available recipes can be found here.
  • Google is moving away from APKs on the Play Store
    1 project | reddit.com/r/kivy | 2 Jul 2021

Stats

Basic python-for-android repo stats
26
6,811
7.3
5 days ago

kivy/python-for-android is an open source project licensed under MIT License which is an OSI approved license.

OPS - Build and Run Open Source Unikernels
Quickly and easily build and deploy open source unikernels in tens of seconds. Deploy in any language to any cloud.
github.com/nanovms
Find remote Python jobs at our new job board 99remotejobs.com. There are 7 new remote jobs listed recently.
Are you hiring? Post a new remote job listing for free.