User Tools

Site Tools


doc:appunti:prog:kivy_debian_12_android_11

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
Next revisionBoth sides next revision
doc:appunti:prog:kivy_debian_12_android_11 [2023/10/09 05:27] – [Writing the buildozer.spec file] niccolodoc:appunti:prog:kivy_debian_12_android_11 [2024/04/02 08:29] – [Compiling the package] niccolo
Line 209: Line 209:
 The **compile SDK** is the environment you want to use to create the app, i.e. the SDK you downloaded from Google (which generally support the higher API available at the moment). This will affects what functions and constructs you can use in your program. If you do not specify a version, Buildozer should detect the highest SDK downloaded and use it. In our case only one SDK was downloaded, and it was SDK API 31. The **compile SDK** is the environment you want to use to create the app, i.e. the SDK you downloaded from Google (which generally support the higher API available at the moment). This will affects what functions and constructs you can use in your program. If you do not specify a version, Buildozer should detect the highest SDK downloaded and use it. In our case only one SDK was downloaded, and it was SDK API 31.
  
-==== Compiling the package ====+==== Compiling the package (debug or release) ==== 
 + 
 +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:
  
 <code> <code>
-# Choose debug or release build: 
 buildozer android debug buildozer android debug
-#buildozer android release 
 </code> </code>
 +
 +The package will be created into the **bin/** subdirectory, using a name like **packagename-version-arm64-v8a_armeabi-v7a-debug.apk**.
 +
 +When you are ready to **publish** your package, you must create the //release// binary:
 +
 +<code>
 +buildozer android release
 +</code>
 +
 +In this case the package created into the **bin/** subdirectory will be named like **packagename-version-arm64-v8a_armeabi-v7a-release.aab**, which is not directly installable into the device.
 +
  
 ===== Web Resources ===== ===== Web Resources =====
doc/appunti/prog/kivy_debian_12_android_11.txt · Last modified: 2024/04/04 07:31 by niccolo