/ / Comando non riuscito: ./distribute.sh -m "kivy" -d - android, python, kivy

Comando non riuscito: ./distribute.sh -m "kivy" -d - android, python, kivy

Sto cercando di seguire le istruzioni su https://kivy.org/docs/guide/packaging-android-vm.html per creare applicazioni Android kivy. Ho installato Kivy Buildozer VM e seguivo le istruzioni sul file Leggimi. Creato il file buildozer.spec usando buildozer init comando ma buildozer android debug sta fallendo con il seguente output

   (cd /media/sf_virtual_box/organizer/2nd_vid_tute/step07_padding/.buildozer/android/platform/python-for-android/build/python-install/bin; ln python2.7 python)
ln: failed to create hard link ‘python’ => ‘python2.7’: Operation not permitted
make: *** [bininstall] Error 1
Leaving ARM environment
cp: cannot stat ‘build/lib.*-2.7/_ctypes*.so’: No such file or directory
# Command failed: ./distribute.sh -m "kivy" -d "myapp1"
#
# Buildozer failed to execute the last command
# The error might be hidden in the log above this error
# Please read the full log, and search for it before
# raising an issue with buildozer itself.
# In case of a bug report, please add a full log with log_level = 2

Come posso risolvere questo?

risposte:

0 per risposta № 1

Ciò si verificherà se il progetto kivy sulla Macchina Virtuale si trova in una cartella condivisa con il computer host. (Nel mio caso l'host è Windows).

In questo caso, prova a copiare la cartella del progetto kivy in / home /, e assicurati che non sia condivisa. Assicurarsi che le autorizzazioni siano impostate su 777.