Updates install instructions and troubleshooting

- Python3 only, since this is now a p4a requirement
 - links to p4a troubleshooting documentation
 - fixes code block formatting on `Aidl` section
This commit is contained in:
Andre Miras 2019-09-27 11:10:54 +02:00
parent e58ad280bd
commit 569c012676

View file

@ -1,14 +1,14 @@
Installation Installation
============ ============
Buildozer itself doesn't depend on any library, and works on Python 2.7 and >= Buildozer itself doesn't depend on any library Python >= 3.3.
3.3. Depending the platform you want to target, you might need more tools Depending the platform you want to target, you might need more tools installed.
installed. Buildozer tries to give you hints or tries to install few things for Buildozer tries to give you hints or tries to install few things for
you, but it doesn't cover every situation. you, but it doesn't cover every situation.
First, install the buildozer project with:: First, install the buildozer project with::
pip install --upgrade buildozer pip3 install --user --upgrade buildozer
Targeting Android Targeting Android
----------------- -----------------
@ -43,11 +43,18 @@ Aidl not found, please install it.
Buildozer didn't install a necessary package Buildozer didn't install a necessary package
:: ::
~/.buildozer/android/platform/android-sdk/tools/bin/sdkmanager "build-tools;29.0.0" ~/.buildozer/android/platform/android-sdk/tools/bin/sdkmanager "build-tools;29.0.0"
Then press "y" then enter to accept the license. Then press "y" then enter to accept the license.
python-for-android related errors
"""""""""""""""""""""""""""""""""
See the dedicated `p4a troubleshooting documentation
<https://python-for-android.readthedocs.io/en/latest/troubleshooting/>`_.
Targeting IOS Targeting IOS
~~~~~~~~~~~~~ ~~~~~~~~~~~~~