More detailed Android instructions

This commit is contained in:
Ben Rousch 2014-04-21 08:11:35 -04:00
parent 4ad75994d7
commit 35c9a93d6e

View file

@ -2,17 +2,35 @@ Installation
============
Buildozer itself doesn't depend on any library, and works on Python 2.7 and >=
3.3. Depending the platform you'll target, you might need more tools installed.
Buildozer tries to give you hints or try to install few things for you, but it
doesn't cover all the cases.
3.3. Depending the platform you want to target, you might need more tools
installed. Buildozer tries to give you hints or tries to install few things for
you, but it doesn't cover every situation.
First, install the buildozer project with::
pip install --upgrade buildozer
If you target Android, you must install at least Cython, few build libs, a Java
SDK. Some binaries of the Android SDK are still in 32 bits, so you need few
32bits libraries available::
Targeting Android
-----------------
pip install --upgrade cython
apt-get install ccache build-essential lib32stdc++6 libz1g-dev openjdk-7-jdk
If you target Android, you must install at least Cython, few build libs, and a
Java SDK. Some binaries of the Android SDK are still in 32 bits, so you need
few 32bits libraries available::
Android on Ubuntu 12.04 (64bit)
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
::
sudo pip install --upgrade cython
sudo apt-get install build-essential ccache git ia32-libs python2.7 python2.7-dev openjdk-7-jdk unzip zlib1g-dev
Android on Ubuntu 13.10 (64bit)
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
::
sudo pip install --upgrade cython
sudo dpkg --add-architecture i386
sudo apt-get update
sudo apt-get install build-essential ccache git ia32-libs libncurses5:i386 libstdc++6:i386 python2.7 python2.7-dev openjdk-7-jdk unzip zlib1g-dev zlib1g:i386