You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
pip3 install --user --upgrade Cython==0.29.19 virtualenv # the --user should be removed if you do this in a venv
27
27
28
28
# add the following line at the end of your ~/.bashrc file
29
29
export PATH=$PATH:~/.local/bin/
30
+
31
+
If openjdk-17 is not compatible with other installed programs, for Buildozer the minimum compatible openjdk version is 11.
30
32
31
-
Android on Windows 10
32
-
~~~~~~~~~~~~~~~~~~~~~
33
+
Android on Windows 10 or 11
34
+
~~~~~~~~~~~~~~~~~~~~~~~~~~~
33
35
34
-
To use buildozer in Windows 10 you need first to enable Windows Subsystem for Linux (WSL) and install a Linux distribution: https://docs.microsoft.com/en-us/windows/wsl/install-win10.
36
+
To use buildozer in Windows you need first to enable Windows Subsystem for Linux (WSL) and install a Linux distribution: https://docs.microsoft.com/en-us/windows/wsl/install.
35
37
36
-
These instructions were tested with WSL 1 and Ubuntu 18.04 LTS.
38
+
These instructions were tested with WSL 1 and Ubuntu 18.04 LTS, and WSL2 with Ubuntu 20.04 and 22.04.
37
39
38
-
After installing WSL and Ubuntu in your Windows 10 machine, open Ubuntuand do this:
40
+
After installing WSL and Ubuntu on your Windows machine, open Ubuntu, run the commands listed in the previous section, and restart your WSL terminal to enable the path change.
39
41
40
-
1) Run the commands listed on the previous section (Android in Ubuntu 18.04 (64-bit).
41
-
2) Run the following commands:
42
+
Copy your Kivy project directory from the Windows partition to the WSL partition, and follow the Quickstart Instructions. **Do not** change to the project directory on the Windows partition and build there, this may give unexpected and obscure fails.
42
43
43
-
::
44
-
45
-
# Use here the python version you need
46
-
sudo apt install -y python3.7-venv
47
-
# Create a folder for buildozer. For example: C:\buildozer
48
-
mkdir /mnt/c/buildozer
49
-
cd /mnt/c/buildozer
50
-
python3.7 -m venv venv-buildozer
51
-
source venv/bin/activate
52
-
python -m pip install --upgrade pip
53
-
python -m pip install --upgrade wheel
54
-
python -m pip install --upgrade cython
55
-
python -m pip install --upgrade virtualenv
56
-
python -m pip install --upgrade buildozer
57
-
# Restart your WSL terminal to enable the path change
58
-
59
-
Windows Subsystem for Linux does not have direct access to USB. Due to this, you need to install the Windows version of ADB (Android Debug Bridge):
44
+
For debugging, WSL does not have direct access to USB. Copy the .apk file to the Windows partition and run ADB (Android Debug Bridge) from a Windows prompt. ADB is part of Android Studio, if you do not have this installed you can install just the platform tools which also contain ADB.
60
45
61
46
- Go to https://developer.android.com/studio/releases/platform-tools and click on "Download SDK Platform-Tools for Windows".
0 commit comments