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 revisionNext revisionBoth sides next revision | ||
doc:appunti:prog:kivy_debian_12_android_11 [2023/10/05 21:32] – [Writing the buildozer.spec file] niccolo | doc:appunti:prog:kivy_debian_12_android_11 [2024/04/02 08:29] – [Compiling the package] niccolo | ||
---|---|---|---|
Line 183: | Line 183: | ||
In **android.permissions** you must list all the permissions that your app will require from the operating system. If you forget to declare something your app simply will not be able to do that operation. Beware that starting from Android 10 the access to the external storae (basically the space into the SD card or into the device memory) has undergone a drastic change, see the table below for a basic overview. | In **android.permissions** you must list all the permissions that your app will require from the operating system. If you forget to declare something your app simply will not be able to do that operation. Beware that starting from Android 10 the access to the external storae (basically the space into the SD card or into the device memory) has undergone a drastic change, see the table below for a basic overview. | ||
- | ^ READ_EXTERNAL_STORAGE | + | ^ READ_EXTERNAL_STORAGE |
^ WRITE_EXTERNAL_STORAGE | ^ WRITE_EXTERNAL_STORAGE | ||
^ CAMERA | ^ CAMERA | ||
Line 210: | Line 210: | ||
==== Compiling the package ==== | ==== Compiling the package ==== | ||
+ | |||
+ | Enter the project directory and edit the **main.py** source code updating the definition of the **%%__version__%%** variable (the **buildozer.spec** will refer this value to create the package name). Then choose to make a debug build: | ||
< | < | ||
- | # Choose debug or release build: | ||
buildozer android debug | buildozer android debug | ||
- | #buildozer android release | ||
</ | </ | ||
+ | |||
+ | The package will be created into the **bin/** subdirectory, | ||
+ | |||
+ | When you are ready to **publish** your package, you must create the //release// binary: | ||
+ | |||
+ | < | ||
+ | buildozer android release | ||
+ | </ | ||
+ | |||
+ | In this case the package created into the **bin/** subdirectory will be named like **packagename-version-arm64-v8a_armeabi-v7a-release.aab**, | ||
+ | |||
===== Web Resources ===== | ===== Web Resources ===== |
doc/appunti/prog/kivy_debian_12_android_11.txt · Last modified: 2024/04/04 07:31 by niccolo