我正在尝试按照https://kivy.org/docs/guide/packaging-android-vm.html上的说明创建kivy android应用程序。我安装了Kivy Buildozer VM,并按照自述文件的说明进行操作。使用buildozer init
命令创建了buildozer.spec文件,但buildozer android debug
失败并显示以下输出
(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
我该如何解决这个问题?
答案 0 :(得分:0)
如果虚拟机上的kivy项目位于主机的共享文件夹中,则会发生这种情况。 (就我而言,主机是Windows。)
如果是这种情况,请尝试将kivy项目文件夹复制到/ home /,并确保不共享。 确保权限设置为777。