doc:appunti:prog:kivy_debian_12_android_11
Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| doc:appunti:prog:kivy_debian_12_android_11 [2025/12/01 11:36] – [Buildozer version] niccolo | doc:appunti:prog:kivy_debian_12_android_11 [2025/12/01 11:57] (current) – [Kivy version] niccolo | ||
|---|---|---|---|
| Line 314: | Line 314: | ||
| 2024.01.21 | 2024.01.21 | ||
| </ | </ | ||
| + | |||
| + | Upgrading Buildozer will eventually upgrade also the python-for-android version. That **Android dependencies** will be stored inside the project subdirectory **$HOME/ | ||
| + | |||
| + | You may want to require a specific python-for-android version by declaring the **p4a.branch** option into the **buildozer.spec** file: | ||
| + | |||
| + | < | ||
| + | # Use the default version: | ||
| + | #p4a.branch = master | ||
| + | # Use a specific p4a version: | ||
| + | #p4a.branch = v2024.03.12 | ||
| + | # Use the develop version: | ||
| + | #p4a.branch = develop | ||
| + | </ | ||
| + | |||
| + | Remember to refresh the build environment with the '' | ||
| ==== Android SDK version ==== | ==== Android SDK version ==== | ||
| - | Update the the **Android dependencies** inside the project subdirectory | + | All the SDKs downloaded will be stored into **$HOME/.buildozer/ |
| + | |||
| + | The SDK used to compile a specific package depends upon the **android.api** option you declared into the **buildozer.spec** file. | ||
| < | < | ||
| Line 327: | Line 344: | ||
| </ | </ | ||
| - | The above command **does not update Buildozer** nor **python-for-android**, | + | The above command **does not update Buildozer** nor **python-for-android**, |
| ==== Kivy version ==== | ==== Kivy version ==== | ||
| - | FIXME | + | Usually you just declare that you need Kivy to compile the project by including it into the **requirements** of **buildozer.spec**: |
| + | |||
| + | < | ||
| + | requirements = python3, | ||
| + | </ | ||
| + | |||
| + | You may be version specific with the syntax: | ||
| + | |||
| + | < | ||
| + | requirements = python3, | ||
| + | </ | ||
| + | |||
| + | To inspect what version of Kivy was used in building the package, look into the prokect directory: **.buildozer/ | ||
| ==== Recompile with the updated components ==== | ==== Recompile with the updated components ==== | ||
doc/appunti/prog/kivy_debian_12_android_11.1764585400.txt.gz · Last modified: by niccolo
