archives:kivy_comment_creer_une_application_android_en_python
Différences
Ci-dessous, les différences entre deux révisions de la page.
Les deux révisions précédentesRévision précédenteProchaine révision | Révision précédenteProchaine révisionLes deux révisions suivantes | ||
kivy_comment_creer_une_application_android_en_python [2019/01/08 13:11] – [Message d'erreur !] serge | archives:kivy_comment_creer_une_application_android_en_python [2020/01/04 09:22] – [Archives : Kivy Comment créer une application android en python] serge | ||
---|---|---|---|
Ligne 1: | Ligne 1: | ||
- | ======Kivy Comment créer une application android en python====== | + | ======Archives : Kivy Comment créer une application android en python====== |
+ | |||
+ | <WRAP center round alert 60%> | ||
+ | **Cette page est obsolète, elle est en archives !** | ||
+ | |||
+ | Voir **[[kivy_buildozer|Kivy: | ||
+ | </ | ||
<WRAP center round box 60% centeralign> | <WRAP center round box 60% centeralign> | ||
- | **{{tagpage> | + | **[[http:// |
</ | </ | ||
<WRAP center round box 60% centeralign> | <WRAP center round box 60% centeralign> | ||
+ | **{{tagpage> | ||
+ | </ | ||
+ | |||
+ | <WRAP center round important 60% centeralign> | ||
**Buildozer compile le Python 3 par défaut !**\\ | **Buildozer compile le Python 3 par défaut !**\\ | ||
**Mais je n'ai pas réussi à obtenir un *.apk** | **Mais je n'ai pas réussi à obtenir un *.apk** | ||
Ligne 11: | Ligne 21: | ||
</ | </ | ||
- | <WRAP center round box 60% centeralign> | + | <WRAP center round info 60% centeralign> |
- | **[[http:// | + | Testé |
+ | **Debian Buster alpha 4**\\ | ||
+ | et sur \\ | ||
+ | **Xubuntu 18.04 dans VirtualBox** | ||
</ | </ | ||
Ligne 44: | Ligne 57: | ||
=====Hello World sur debian buster avec python 3.7 dans une VirtualBox===== | =====Hello World sur debian buster avec python 3.7 dans une VirtualBox===== | ||
- | ====Message d' | ||
- | < | ||
- | # Check that aidl can be executed | ||
- | # Search for Aidl | ||
- | # Run '/ | ||
- | # Cwd None | ||
- | # Android packages installation done. | ||
- | # Check application requirements | ||
- | # Check garden requirements | ||
- | # Compile platform | ||
- | # Run '/ | ||
- | # Cwd / | ||
- | / | ||
- | import imp | ||
- | [INFO]: | ||
- | [INFO]: | ||
- | [INFO]: | ||
- | [INFO]: | ||
- | [INFO]: | ||
- | [INFO]: | ||
- | [INFO]: | ||
- | [INFO]: | ||
- | [INFO]: | ||
- | [INFO]: | ||
- | [INFO]: | ||
- | [INFO]: | ||
- | [ERROR]: | ||
- | [ERROR]: | ||
- | [ERROR]: | ||
- | # Command failed: / | ||
- | # | ||
- | # Buildozer failed to execute the last command | ||
- | </ | ||
- | |||
- | Le fichier de toute la sortie terminal **{{compil_1_py3.zip|Output}}** | ||
====Installation des dépendances==== | ====Installation des dépendances==== | ||
< | < | ||
Ligne 89: | Ligne 67: | ||
sudo pip3 install jinja2 appdirs sh colorama setuptools cython | sudo pip3 install jinja2 appdirs sh colorama setuptools cython | ||
- | sudo pip3 install kivy buildozer pyjnius | + | sudo pip3 install |
</ | </ | ||
====Version==== | ====Version==== | ||
- | * cython 0.29.2 | + | * cython |
- | * kivy | + | * kivy 1.10.1 |
+ | * buildozer 0.35 | ||
+ | * pygame-1.9.4 | ||
====Fichiers==== | ====Fichiers==== | ||
<file python main.py> | <file python main.py> | ||
Ligne 138: | Ligne 118: | ||
warn_on_root = 1 | warn_on_root = 1 | ||
</ | </ | ||
+ | |||
+ | =====Hello World sur Xubuntu 18.04 avec python 3.6.7 dans une VirtualBox===== | ||
+ | ** Problème: ce n'est pas python3.7 !!!** | ||
+ | |||
+ | ====Installation de buildozer à partir de la branche master sur github==== | ||
+ | sudo pip3 install https:// | ||
+ | installe buildozer 0.38 dev0 | ||
+ | |||
+ | sudo pip3 install git+https:// | ||
+ | Successfully installed Kivy-1.11.0.dev0 | ||
+ | |||
===== Kivy Virtual Machine (for Android/ | ===== Kivy Virtual Machine (for Android/ | ||
- | * Voir ** [[kivy_virtual_machine_for_android:buildozer|Kivy Virtual Machine (for Android/ | + | * Voir ** [[https:// |
===== Des applications réussies jusqu' | ===== Des applications réussies jusqu' | ||
* **[[https:// | * **[[https:// | ||
- | * **[[taposc|Kivy: | + | * **[[:taposc|Kivy: |
* **[[https:// | * **[[https:// | ||
* **[[https:// | * **[[https:// | ||
Ligne 150: | Ligne 141: | ||
* **[[https:// | * **[[https:// | ||
* **[[https:// | * **[[https:// | ||
- | * **[[https:// | + | * **[[https:// |
- | {{tag>kivy sb}} | + | {{tag>archive |
archives/kivy_comment_creer_une_application_android_en_python.txt · Dernière modification : 2020/04/03 17:59 de serge