Skip to content

Commit

Permalink
Updated highly outdated Android installation info
Browse files Browse the repository at this point in the history
  • Loading branch information
inclement committed Sep 22, 2017
1 parent 72be57a commit 52ec555
Showing 1 changed file with 15 additions and 3 deletions.
18 changes: 15 additions & 3 deletions docs/source/installation.rst
Original file line number Diff line number Diff line change
Expand Up @@ -28,10 +28,22 @@ You can run the tests suite to make sure everything is running right::
Installation for Android
------------------------

If you use `Python for android <http://github.com/kivy/python-for-android>`,
you just need to compile a distribution with the pyjnius module::
To use pyjnius in an Android app, you must include it in your compiled
Python distribution. This is done automatically if you build a `Kivy
<https://kivy.org/#home>`__ app, but you can also add it to your
requirements explicitly as follows.

./distribute.sh -m 'pyjnius kivy'
If you use `buildozer
<https://buildozer.readthedocs.io/en/latest/>`__, add pyjnius to your
requirements in buildozer.spec::

requirements = pyjnius

If you use `python-for-android
<http://python-for-android.readthedocs.io/en/latest/>`__ directly, add
pyjnius to the requirements argument when creating a dist or apk::

p4a apk --requirements=pyjnius


Installation for Windows
Expand Down

0 comments on commit 52ec555

Please sign in to comment.