Chaquopy is a Gradle plugin which adds Python support to the Android build system. Depending on your question, consider also using some of the following tags: [android], [android-studio], [gradle], [java], [python], [pip].
Chaquopy is a plugin for Android Studio's Gradle-based build system. It aims to be the easiest way to use Python in an Android app, including the following features:
- Build process fully integrated with the standard Android build system.
- Complete APIs to call Java from Python or Python from Java.
- Automated download and install of PyPI packages, including selected native packages such as NumPy.
- Full access to all Android APIs from Python, including the native user interface toolkit (example pure-Python activity).
Example source code can be found on GitHub, and Python 2 or Python 3 builds of the demo app are available from Google Play.