0
我在使用buildozer在kivy中編譯我的應用程序時出現此錯誤,我無法弄清楚它的含義。我嘗試縮短我的應用程序的名稱,但沒有奏效。「ValueError:name is too long」in kivy
File "build.py", line 507, in <module>
make_package(args)
File "build.py", line 326, in make_package
make_tar('assets/private.mp3', ['private', args.private], args.ignore_path)
File "build.py", line 203, in make_tar
tf.add(fn, afn)
File "/usr/lib/python2.7/tarfile.py", line 2014, in add
self.addfile(tarinfo, f)
File "/usr/lib/python2.7/tarfile.py", line 2037, in addfile
buf = tarinfo.tobuf(self.format, self.encoding, self.errors)
File "/usr/lib/python2.7/tarfile.py", line 999, in tobuf
return self.create_ustar_header(info)
File "/usr/lib/python2.7/tarfile.py", line 1016, in create_ustar_header
info["prefix"], info["name"] = self._posix_split_name(info["name"])
File "/usr/lib/python2.7/tarfile.py", line 1103, in _posix_split_name
raise ValueError("name is too long")
ValueError: name is too long
# Command failed: /usr/bin/python build.py --name MobilGame --version 1.0 --package org.test.myapp --private /home/nabeel/Desktop/game/ProjectGame/.buildozer/android/app --sdk 14 --minsdk 8 --orientation landscape debug
#
# 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