🌐
Python
docs.python.org › 3 › using › android.html
6. Using Python on Android — Python 3.14.4 documentation
As a result, the only way you can use Python on Android is in embedded mode – that is, by writing a native Android application, embedding a Python interpreter using libpython, and invoking Python code using the Python embedding API.
🌐
GitHub
github.com › kivy › python-for-android
GitHub - kivy/python-for-android: Turn your Python application into an Android APK · GitHub
python-for-android works by cross-compiling the Python interpreter and its dependencies for Android devices, and bundling it with the app's python code and dependencies.
Starred by 8.9K users
Forked by 2K users
Languages   Python 75.1% | Java 13.9% | C 5.4% | Makefile 1.4% | kvlang 1.4% | Cython 1.2%
Discussions

Creating android app from Python Code
Converting python to kotlin/java doesn't work 1-1 but you can take the features the python script has and implement it in a android app. More on reddit.com
🌐 r/androiddev
13
0
December 27, 2022
Python for Android app development WITHOUT Google (SDK) - Packaging - Discussions on Python.org
Hi all, I have a question regarding app Android development with Python. I would like to create an APK file based on my Python code without dealing with Google. What are the possibilities? I followed this instruction until the point where I realized that Google comes into play! More on discuss.python.org
🌐 discuss.python.org
1
May 18, 2021
How to develop Android app completely using python? - Stack Overflow
Android's preferred language of implementation is Java - so if you want to write an Android application in Python, you need to have a way to run your Python code on a Java Virtual Machine. This is what VOC does. VOC is a transpiler - it takes Python source code, compiles it to CPython Bytecode, ... More on stackoverflow.com
🌐 stackoverflow.com
Best python for Android?
PyDroid is arguably your best bet. QPython has better integration with the phone itself and can theoretically control its hardware more easily, but in my experience it's quite buggy. More on reddit.com
🌐 r/learnpython
10
6
September 28, 2023
free and multi-platform graphical library for Python
Kivy is a free and open source Python framework for developing mobile apps and other multitouch application software with a natural user interface (NUI). It is distributed under the terms of the … Wikipedia
Factsheet
Developer Kivy organization
Initial release 1 February 2011; 15 years ago (2011-02-01)
Stable release 2.3.1
/ 26 December 2024; 15 months ago (2024-12-26)
Factsheet
Developer Kivy organization
Initial release 1 February 2011; 15 years ago (2011-02-01)
Stable release 2.3.1
/ 26 December 2024; 15 months ago (2024-12-26)
🌐
Kivy
kivy.org
Kivy: Cross-platform Python Framework for GUI apps Development
With a single codebase, you will be able to deploy apps on Windows, Linux, macOS, iOS and Android. ... Kivy is released under the MIT License, is 100% free to use, and is professionally developed, backed and maintained. Companies and individuals are using Kivy for their projects every day. Kivy is kept open source thanks to its contributors and backers.
🌐
Reddit
reddit.com › r/androiddev › creating android app from python code
r/androiddev on Reddit: Creating android app from Python Code
December 27, 2022 -

Long story short, I want to pay a third party to develop an android app. I'm not a developer, but I have a background in scientific programming as an Engineer. I have some python code that performs a bunch of math operations in just a few lines (thanks to the scipy library). Is it unreasonable to expect a developer to be able to transform this python to JAVA (or whatever the language for android app dev is)? Is that a request that anyone has ever received in developing an app?

🌐
GitHub
github.com › chaquo › chaquopy
GitHub - chaquo/chaquopy: Chaquopy: the Python SDK for Android · GitHub
Chaquopy provides everything you need to include Python components in an Android app, including: Full integration with Android Studio's standard Gradle build system. Simple APIs for calling Python code from Java/Kotlin, and vice versa.
Starred by 1.2K users
Forked by 186 users
Languages   Python 91.1% | Cython 3.2% | C 2.3% | Java 2.1% | Kotlin 0.7% | Shell 0.6%
🌐
Sololearn
sololearn.com › en › Discuss › 1649321 › examples-of-known-android-apps-written-in-python
Examples of known android apps written in Python. | Sololearn: Learn to code for FREE!
January 8, 2019 - Point is that whether python could be used to make apps for android platform, why not, ofcourse it can be done. Like entire android operating system platform is linux(C programming) based. Java is recommended because of its platform independent factor where a coder cometely emphasize on source code compilation while the JVM with Byte code takes care of platform interpretation.
🌐
SourceForge
sourceforge.net › projects › python-for-android.mirror
python-for-android download | SourceForge.net
python-for-android
Turn your Python application into an Android APK. python-for-android is an open source build tool to let you package Python code into standalone android APKs. These can be passed around, installed, or uploaded to marketplaces such as the Play Store just like any other Android app. python-for-android is an open source build tool to let you package Python code into standalone android APKs. These can be passed around, installed, or uploaded to marketplaces such as the Play Store just like any other Android app. This tool was originally developed for the Kivy cross-platform graphical framework, bu
Rating: 4 ​
Find elsewhere
🌐
GitHub
github.com › Apress › building-android-apps-in-python-using-kivy
GitHub - Apress/building-android-apps-in-python-using-kivy: Source Code for 'Building Android Apps in Python Using Kivy with Android Studio' by Ahmed Fawzy Mohamed Gad
This repository accompanies Building Android Apps in Python Using Kivy with Android Studio by Ahmed Fawzy Mohamed Gad (Apress, 2019). Download the files as a zip using the green button, or clone the repository to your machine using Git. Release v1.0 corresponds to the code in the published book, without corrections or updates.
Starred by 37 users
Forked by 20 users
Languages   Python 100.0% | Python 100.0%
🌐
Opensource.com
opensource.com › article › 20 › 8 › python-android-mobile
Create and run Python apps on your Android phone | Opensource.com
August 26, 2020 - It doesn't require any special permissions You can use either the default Google Play store or the open source app repository F-Droid to install. Once you have installed Termux, launch it and perform a few requisite software installations using Termux's pkg command: Subscribe to the additional repository “root-repo”: ... Once the installation and auto set-up of configuration is complete, it’s time to build your application. Now that you have a terminal installed, you can work on your Android phone largely as if it were just another Linux computer.
🌐
Python.org
discuss.python.org › packaging
Python for Android app development WITHOUT Google (SDK) - Packaging - Discussions on Python.org
May 18, 2021 - Hi all, I have a question regarding app Android development with Python. I would like to create an APK file based on my Python code without dealing with Google. What are the possibilities? I followed this instruction until the point where I realized that Google comes into play!
🌐
DEV Community
dev.to › mustufa786 › how-to-make-android-apps-with-python-1pl6
How to Make Android Apps With Python - DEV Community
November 2, 2020 - However, Android's favored language of implementation is Java so if you wish to run python Android application, you need to have a way to run your Python code on a Java there are several ways by which it can be done. Transpiler - takes Python ASCII text file, compiles it to CPython Bytecode, and then transpires that bytecode into Java-compatible bytecode. It also allows you to use native JAVA objects the same as Python objects which allows us to seamlessly create an android application in native android API. The result is that your Python source code files are compiled directly to a Java class file.
🌐
Medium
medium.com › @krishanjara069 › building-android-apps-with-python-a-comprehensive-guide-effcc62e4cff
Building Android Apps with Python: A Comprehensive Guide | by Krishanjara | Medium
November 25, 2023 - Save this code in a file (e.g., main.py) and run it using Python. This simple app consists of a vertical box layout containing a label and a button. When the button is clicked, the label’s text is updated. Test Locally: Before deploying to an Android device, test your app locally using the Kivy framework.
Top answer
1 of 4
186

To answer your first question: yes it is feasible to develop an android application in pure python, in order to achieve this I suggest you use BeeWare, which is just a suite of python tools, that work together very well and they enable you to develop platform native applications in python.

checkout this video by the creator of BeeWare that perfectly explains and demonstrates it's application

How it works

Android's preferred language of implementation is Java - so if you want to write an Android application in Python, you need to have a way to run your Python code on a Java Virtual Machine. This is what VOC does. VOC is a transpiler - it takes Python source code, compiles it to CPython Bytecode, and then transpiles that bytecode into Java-compatible bytecode. The end result is that your Python source code files are compiled directly to a Java .class file, which can be packaged into an Android application.

VOC also allows you to access native Java objects as if they were Python objects, implement Java interfaces with Python classes, and subclass Java classes with Python classes. Using this, you can write an Android application directly against the native Android APIs.

Once you've written your native Android application, you can use Briefcase to package your Python code as an Android application.

Briefcase is a tool for converting a Python project into a standalone native application. You can package projects for:

  • Mac
  • Windows
  • Linux
  • iPhone/iPad
  • Android
  • AppleTV
  • tvOS.

You can check This native Android Tic Tac Toe app written in Python, using the BeeWare suite. on GitHub

in addition to the BeeWare tools, you'll need to have a JDK and Android SDK installed to test run your application.

and to answer your second question: a good environment can be anything you are comfortable with be it a text editor and a command line, or an IDE, if you're looking for a good python IDE I would suggest you try Pycharm, it has a community edition which is free, and it has a similar environment as android studio, due to to the fact that were made by the same company.

I hope this has been helpful

2 of 4
20

You could try BeeWare - as described on their website:

Write your apps in Python and release them on iOS, Android, Windows, MacOS, Linux, Web, and tvOS using rich, native user interfaces. One codebase. Multiple apps.

Gives you want you want now to write Android Apps in Python, plus has the advantage that you won't need to learn yet another framework in future if you end up also wanting to do something on one of the other listed platforms.

Here's the Tutorial for Android Apps.

🌐
Real Python
realpython.com › mobile-app-kivy-python
Build a Mobile Application With the Kivy Python Framework – Real Python
August 16, 2024 - Android should ask you if you’d like to install the application. You may see a warning since the app was downloaded from outside Google Play, but you should still be able to install it. ... The buildozer tool has several other commands you can use. Check out the documentation to see what else you can do. You can also package the app using python-for-android if you need more fine-grained control.
🌐
Manektech
manektech.com › home › blog › python tools for android app development in 2026: the ultimate guide
Python Tools for Android App Development in 2026 & Beyond
February 25, 2026 - Developers get both options – using Java API for android app development and using Python API for android app development. It is also relatively easy for Android developers to start using Chaquopy. They can install it as a third-party plugin in Android Studio. It offers easy-to-use APIs to source Python code from Kotlin/Java.
🌐
Readthedocs
python-for-android.readthedocs.io
python-for-android 2024.01.21 documentation
python-for-android works by cross-compiling the Python interpreter and its dependencies for Android devices, and bundling it with the app’s python code and dependencies.
🌐
Google Play
play.google.com › store › apps › details
Pydroid 3 - IDE for Python 3 - Apps on Google Play
GPL pure Python libraries bundled with Pydroid 3 are considered to be coming in the source code form already. Pydroid 3 doesn’t bundle any GPL-licensed native modules to avoid automatic import of them. The famous example of such library is GNU readline, that can be installed using pip. Samples available in the application are free for educational usage with one exception: they, or their derivative works, cannot be used in any competing products (in any way).
Rating: 4.5 ​ - ​ 80.4K votes
🌐
Medium
medium.com › @umerfarooq_26378 › tools-to-run-python-on-android-9060663972b4
Tools to run Python on Android. Python has proven itself as a highly… | by Umer Farooq | Medium
March 28, 2019 - If you use Android Studio, you can start using Chaquopy in 5 minutes with no change to your existing development process. Download and installation are automated via Gradle. ... Try out the demo app for Python 2 or Python 3. Browse example source code on GitHub.
🌐
Medium
proandroiddev.com › chaquopy-using-python-in-android-apps-dd5177c9ab6b
Chaquopy: Using Python In Android Apps | by Shubham Panchal | ProAndroidDev
March 29, 2023 - Chaquopy uses CPython, an ... a purely interpreted language. Python’s source code is first compiled to a special bytecode which is then interpreted by CPython....