Je suis en train de construire une apk de mon projet kivy. J'ai installé buildozer en python 2.7 Utiliser PyCharm, je construit le .spec
, mais quand j'essayé de créer l'APK, je suis arrivé à ces résultats: j'ai insatalled jdk7 et 8Kivy Apk construire avec erreur buildozer: # Java compilateur (javac) pas trouvé, s'il vous plaît l'installer
Utilisation:
buildozer Android debug
#Check configuration tokens # Ensure build layout # Check configuration tokens # Preparing build # Check requirements for android # Java compiler (javac) not found, please install it.
utilisant:
buildozer -v Android debug
# Check configuration tokens # Ensure build layout # Check configuration tokens # Read available permissions from api-versions.xml # Preparing build # Check requirements for android # Run 'dpkg --version' # Cwd None /bin/sh: dpkg: comando non trovato # Search for Git (git) # -> found at /usr/bin/git # Search for Cython (cython) # -> found at /usr/bin/cython # Search for Java compiler (javac) # Java compiler (javac) not found, please install it.
utilisant:
buildozer Android debug deploy run
# Check configuration tokens # Ensure build layout # Check configuration tokens # Preparing build # Check requirements for android # Java compiler (javac) not found, please install it.
Comment puis-je obtenir que cela fonctionne?
j'ai installé beaucoup en utilisant le logiciel jdk menager –
jre8-jre7-jdk7opendjdk-jdk8openjdk- –
ok, résoudre J'ai oublié d'installer java-8-openjdk –